Skip to content

Error when building with npm build, related to @jridgewell/genmapping sub-dependency #634

@dennybiasiolli

Description

@dennybiasiolli

When building a freshly created project, this error appears

Error: Cannot find module '/Users/denny/git/budgest-frontend/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js'

Related to this issue: jridgewell/gen-mapping#14
A possible workaround is to install a fixed 0.3.5 version of the dependency with

npm install -D @jridgewell/gen-mapping@0.3.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions