Skip to content

Solve dependencies version mismatch #431

@alagane

Description

@alagane

As a developer with npm 7.6.3
When I want to install dependencies of the project using npm i command

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/pug
npm ERR!   dev pug@"^3.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer pug@"^2.0.0" from [email protected]
npm ERR! node_modules/pug-loader
npm ERR!   dev pug-loader@"^2.4.0" from the root project

Because pug needed by pug loaded and by the project are not compatible.
This could probably fixed by this PR pugjs/pug-loader#128

There is also a problem with chai version.

Workaround is npm i -f

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions