Skip to content

Commit

Permalink
add npm install --force
Browse files Browse the repository at this point in the history
because of npm/cli#5222
  • Loading branch information
kellyselden committed Jul 22, 2024
1 parent 960a481 commit ccb67e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit ccb67e7

Please sign in to comment.