lerna-update-wizard icon indicating copy to clipboard operation
lerna-update-wizard copied to clipboard

Npm install breaks the symlinking of packages in lerna

Open shreyashah7 opened this issue 5 years ago • 1 comments

  • lerna bootstrap after 'npm install' will help to symlink those packages again.

shreyashah7 avatar Oct 30 '20 01:10 shreyashah7

Running npm install also results in generation of package-lock.json files in all sub projects and if you are hoisting dependencies, will need to re-bootstrap after deleting these.

Rather than npm install consider calling lerna add <package>@<version> --scope <module-name>

TechN8 avatar Jan 27 '21 18:01 TechN8