atlassian / cz-lerna-changelog

A commitizen adapter for the angular preset of https://github.com/conventional-changelog/conventional-changelog
110 stars 39 forks source link

"lerna": "^4.0.0" #25

Closed kostikovk closed 1 year ago

kostikovk commented 3 years ago
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: ui@undefined
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@"*" from the root project
leejunhui commented 3 years ago

Same issue,it seems current version of this library was not prepared to adapt with the newest version of Lerna(4.x).

hayesmaker commented 3 years ago

until this is fixed - we get around by running npm install --legacy-peer-deps - but it would be nice if this PR got merged: https://github.com/atlassian/cz-lerna-changelog/pull/26

janbiasi commented 2 years ago

Any updates? ...

kostikovk commented 2 years ago

until this is fixed - we get around by running npm install --legacy-peer-deps - but it would be nice if this PR got merged: #26

Yeah, It works. I have used the same solution but it will be more comfortable don't use --legacy-peer-deps.