mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-18 09:09:01 -05:00
fix: index install
This commit is contained in:
7
bin/index.js
Normal file → Executable file
7
bin/index.js
Normal file → Executable file
@@ -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...');
|
||||
|
||||
Reference in New Issue
Block a user