From d264ebf9e0ed8361c43ee07f48e85b03042d2e6d Mon Sep 17 00:00:00 2001 From: lucas-neynar Date: Tue, 11 Mar 2025 16:25:17 -0700 Subject: [PATCH] fix: index install --- bin/index.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) mode change 100644 => 100755 bin/index.js diff --git a/bin/index.js b/bin/index.js old mode 100644 new mode 100755 index f7ddcb0..0d163d4 --- a/bin/index.js +++ b/bin/index.js @@ -87,12 +87,7 @@ async function init() { // Install dependencies console.log('\nInstalling dependencies...'); - try { - execSync('npm install --legacy-peer-deps', { cwd: projectPath, stdio: 'inherit' }); - } catch (error) { - console.log('\nNPM install failed. Trying with yarn...'); - execSync('yarn install', { cwd: projectPath, stdio: 'inherit' }); - } + execSync('npm install', { cwd: projectPath, stdio: 'inherit' }); // Initialize git repository console.log('\nInitializing git repository...');