Skip to content

Commit

Permalink
fix: template install using npm (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
marthendalnunes authored Aug 23, 2023
1 parent d1466a1 commit fa38134
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-turbo-eth",
"version": "0.5.0",
"version": "0.5.1",
"description": "Create web3 apps in turbo mode.",
"author": "Vitor @marthendalnunes",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default class Core extends Command {
ux.action.start('Installing packages. This might take a few minutes')

if (!skipInstall) {
const installArgs = ['install', packageManager === 'npm' ? '--quiet' : '--silent']
const installArgs = ['install', packageManager === 'npm' ? '--quiet' : '--silent', '--legacy-peer-deps']
try {
await execa(packageManager, installArgs, { cwd: projectDir, env: { ...process.env, NODE_ENV: 'development' } })
} catch (error) {
Expand Down

0 comments on commit fa38134

Please sign in to comment.