From fa38134fbb5fd10361b301807617773087cd47e6 Mon Sep 17 00:00:00 2001 From: Vitor Marthendal Nunes Date: Wed, 23 Aug 2023 14:22:20 -0300 Subject: [PATCH] fix: template install using npm (#15) --- package.json | 2 +- src/commands/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2e9fbf9..0065d9f 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/commands/index.ts b/src/commands/index.ts index 4dbc56b..faf23d2 100644 --- a/src/commands/index.ts +++ b/src/commands/index.ts @@ -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) {