Everlaw / nbts

NetBeans TypeScript editor plugin
282 stars 46 forks source link

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

Open Chris2011 opened 5 years ago

Chris2011 commented 5 years ago

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 commented 5 years ago

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

Chris2011 commented 5 years ago

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