I've noticed that many people are asking similar questions, but my situation seems a bit unique as I haven't found anyone else with the same issue.
Currently, I'm working on a file in packages/frontend/client, specifically packages/frontend/client/src/components/NavBar.tsx, and I'm trying to import a component from packages/frontend/lib/src/components/LibButton/index.tsx.
When I type in the client component and press Ctrl+Space, I get a suggestion for LibButton @goe/lib
. However, when I select this option with Enter or a click, the import is not inserted into the code. Additionally, nothing is actually added to the line of code, yet the changes indicator shows up next to the title, indicating there have been changes even though there aren't any.
Any ideas on what could be causing this?
UPDATE: While checking the window output for errors, I came across this:
2024-02-21 13:41:49.596 [error] <semantic> TypeScript Server Error (5.3.3-sdk)
Debug Failure.
Error: Debug Failure.
at getAutoImportSymbolFromCompletionEntryData
It appears that TypeScript may not be handling yarn-2 monorepos properly, and unfortunately, I haven't found any information online about possible workarounds :/
I appreciate any help you can provide! Thanks!