Skip to content

Commit a6bf25f

Browse files
committed
fix(app): ensure install works with mismatching versions
1 parent 381dec1 commit a6bf25f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/create-app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ await copy(appName, 'app', {
2525
rimraf.sync(appName)
2626

2727
// Install this package locally, avoiding symlinks.
28-
execSync('npm install $(npm pack .. | tail -1)', {
28+
execSync('npm install $(npm pack .. | tail -1) --legacy-peer-deps', {
2929
cwd: join(process.cwd(), 'app'),
3030
stdio: 'inherit',
3131
})

0 commit comments

Comments
 (0)