-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript: Cannot find module "module-package" or its corresponding type declarations. #54628
Comments
same, all my ts code is red and says /unresolved/ |
Does this reproduce in the latest VS Code insiders build with all extensions disabled? |
I solved it by removing the typeRoots, any idea why? |
Restarting Vscode after executing the following command worked. To create a new one In the directory where package.json is located, do the following Thank you for your time. For more information, please visit. |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Ideal Movement
"lodash" is properly imported.
"js", it imports without problems.
Is there some other way to set up importing in typescript in VsCode?
What we have done so far
Typescript Restart

declare module Definition.(Temporary solution)

Reinstall package.json
Switched "devDependencies" and "dependencies
Sources
package.json
webpack.config.test.js
tsconfig.json
The text was updated successfully, but these errors were encountered: