Skip to content

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

@Chris2011

Description

@Chris2011

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions