Skip to content
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

Project error: Cannot find type definition file for 'jest'. while using vue cli #148

Open
Chris2011 opened this issue Feb 21, 2019 · 2 comments

Comments

@Chris2011
Copy link

After I created a project with the vue cli vue create myTest, I got the error inside of the router.ts file:
image

But both types are installed properly: node_modules/@types/jest and node_modules/@types/webpack-env.

Using Windows 10 with NetBeans 10 and NBTS 3.0.1.

I restarted NetBeans and changed the TypeScript setup from the global installed TS to the local one, nothing helped.

@Chris2011
Copy link
Author

both types are added to the tsconfig automatically from the vue cli.

@Chris2011
Copy link
Author

No problems with VS Code so far. Ctrl + click on the process variable will jump into webpack-dev/index.d.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant