Skip to content

Commit

Permalink
fix: πŸ› Verdacio fix take 4
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimck committed Mar 14, 2022
1 parent 36dd536 commit 24f3607
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/create-ima-app/scripts/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,15 @@ function createImaApp(dirName, exampleName) {
// Run npm install
info(
`Running ${chalk.cyan(
'npm install' // TODO IMA@18
'npm install'
)} inside app directory, this might take a while...`
);
// eslint-disable-next-line no-console
console.log(chalk.dim(' Press CTRL+C to cancel.\n'));

const npm = process.platform === 'win32' ? 'npm.cmd' : 'npm';
execa.sync(npm, ['install', ['--legacy-peer-deps']], {
execa.sync(npm, ['install', ['--force']], {
// TODO IMA@18 -> remove --force
stdio: 'inherit',
cwd: appRoot,
});
Expand Down

0 comments on commit 24f3607

Please sign in to comment.