From ccb67e7be02390da3d58e22c483d504d57de539a Mon Sep 17 00:00:00 2001 From: Kelly Selden <602423+kellyselden@users.noreply.github.com> Date: Sun, 21 Jul 2024 17:55:44 -0700 Subject: [PATCH] add npm install --force because of https://github.com/npm/cli/issues/5222 --- src/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 971eda6..b71ef6c 100644 --- a/src/index.js +++ b/src/index.js @@ -176,7 +176,10 @@ async function emberCliUpdateAction({ if (hasPackageLock) { await spawn('npm', [ - 'install' + 'install', + + // https://github.com/npm/cli/issues/5222 + '--force' ]); } else { let hasYarnLock = await fs.pathExists('yarn.lock');