Typescript auto completion is broken in a monorepo
Hi, i've setup solidjs inside a mono-repo which has a react app as well.
it seems my auto completion is broken with solid project
im using the general vite template and the react app is a nextjs app(no repos share any config here)
9 Replies
Unfortunately, this request for support is lacking a lot of information: how is the structure of the repo? What IDE are you using? Is there a global tsconfig? Does the local config extend it or attempts to overwrite it?
Hi, sorry i forgot to add its vscode
there is no global tsconfig
Okay, that doesn't look too bad.
Can you try to open only the solid part in a separate window so the IDE would not use the surrounding project as root path?
i did, same result
do i need to install a plugin maybe?
im using pnpm workspaces and node version is 20
it seems this is similar to following bug https://github.com/microsoft/TypeScript/issues/55450
GitHub
Having to restart TS server every time I build a package in a works...
Type: Bug I have a monorepo setup, using workspaces. Whenever I rebuild one of my packages, all files in another workspace can no longer resolve types for it. That is until I do cmd + shift + P -&g...
i see the issue in astro repo as well https://github.com/withastro/astro/tree/main
GitHub
GitHub - withastro/astro: The web framework for content-driven webs...
The web framework for content-driven websites. ⭐️ Star to support our work! - withastro/astro
@Alex Lohr
Then it is probably an error with the typescript language server protocol server.
can you try this?
just need to do pnpm install and check solidjs example
hmm weird...it suddenly started working
in astro repo
ohh weird...i did
rm -rf pnpm-lock.yaml node_modules
and now it works