From 221373e65bb9ccde3f38dedb0a3b2f8e5201eda1 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Wed, 9 Oct 2019 08:37:39 -0700 Subject: [PATCH] chore: reduce concurrency to avoid bootstrap issues due to npm locks 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 --- lerna.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerna.json b/lerna.json index 63bcbcb6ba8a..558767eb1dbc 100644 --- a/lerna.json +++ b/lerna.json @@ -11,7 +11,7 @@ ], "command": { "bootstrap": { - "concurrency": 8, + "concurrency": 4, "forceLocal": true }, "version": {