You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Lerna 2 we switch from running npm install in every package directory to installing all the packages individually in order to avoid installing local dependencies that don't exist on npm.
$ npm install dep-1@^1.0.0 dep-2@^2.0.0 ...
While this improves the initial bootstrap, this also slows down subsequence bootstraps because when running npm install with the dependencies specified will force npm to re-install things it already has in the local node_modules.
In order to speed this up we can replicate what npm normally does and check if a dependency is already installed before re-installing it making sure that it satisfies the version in package.json.
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Activity
Only install missing external dependencies during bootstrap
Only install missing external dependencies during bootstrap
Only install missing external dependencies during bootstrap
Only install missing external dependencies during bootstrap (#199)
hzoo commentedon Jun 13, 2016
Fixed in #199
lock commentedon Dec 28, 2018
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.