From fdc37c2ed387a051756c2e2e2696f41eb93e8236 Mon Sep 17 00:00:00 2001 From: Can Eldem Date: Tue, 5 Nov 2019 19:38:40 +0000 Subject: Add comment for the npm install case --- run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run.sh b/run.sh index ad17914..5c55c32 100755 --- a/run.sh +++ b/run.sh @@ -136,6 +136,8 @@ case "$COMMAND" in trap restore_lockfile EXIT echo "Convert package-lock.json to yarn.lock" + # This is needed in order to have proper package.lock in case it is corrupted. + # See https://github.com/yarnpkg/yarn/issues/6103 npm install yarn import --ignore-engines --ignore-scripts fi -- cgit v1.2.3