DhiWise / dhiwise-nodejs

DhiWise Node.js API generator allows you to instantly generate secure REST APIs. Just supply your database schema to DhiWise, and a fully documented CRUD APIs will be ready for consumption in a few simple clicks. The generated code is clean, scalable, and customizable.
https://dhiwise.com
Apache License 2.0
318 stars 90 forks source link

[BUG] <title>npm i error #33

Closed metinkun closed 2 years ago

metinkun commented 2 years ago

When i start npm i , after clonning repo , i get this error :

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: nodejs-code-generator@0.0.0 npm ERR! Found: lerna@4.0.0 npm ERR! node_modules/lerna npm ERR! dev lerna@"^4.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer lerna@"^3.0.0" from cz-lerna-changelog@2.0.3 npm ERR! node_modules/cz-lerna-changelog npm ERR! dev cz-lerna-changelog@"^2.0.3" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

i am using intel mac , node version v16.15.0 , npm version 8.5.5

saloni137 commented 2 years ago

The workaround for this is npm i --force