Skip to content

Commit

Permalink
chore: reduce concurrency to avoid bootstrap issues due to npm locks
Browse files Browse the repository at this point in the history
It happens very frequently for me with `npm run update-packages`, which
is also part of our release process.

Sample error:

lerna ERR! npm install exited 254 in '@loopback/service-proxy'
lerna ERR! npm install stderr:
npm ERR! code ENOENT
npm ERR! syscall lchown
npm ERR! path /Users/rfeng/.npm/_locks/staging-1f9c9b6dc2a3f888.lock
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, lchown '/Users/rfeng/.npm/_locks/staging-1f9c9b6dc2a3f888.lock'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
  • Loading branch information
raymondfeng committed Oct 11, 2019
1 parent 1cc3fda commit 221373e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lerna.json
Expand Up @@ -11,7 +11,7 @@
],
"command": {
"bootstrap": {
"concurrency": 8,
"concurrency": 4,
"forceLocal": true
},
"version": {
Expand Down

0 comments on commit 221373e

Please sign in to comment.