File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const promises = fixtures.map((fixture) =>
4545 }
4646
4747 // npm is the default
48- let cmd = `npm install --no-audit --progress=false --prefer-offline `
48+ let cmd = `npm install --no-audit --progress=false --prefer-offline --legacy-peer-deps `
4949 const { packageManager } = JSON . parse ( await readFile ( join ( cwd , 'package.json' ) , 'utf8' ) )
5050 if ( packageManager ?. startsWith ( 'pnpm' ) ) {
5151 // We disable frozen-lockfile because we may have changed the version of Next.js
Original file line number Diff line number Diff line change @@ -44,7 +44,10 @@ async function installDependencies(cwd: string) {
4444 cwd,
4545 } )
4646 }
47- return execaCommand ( `npm install --ignore-scripts --no-audit --progress=false` , { cwd } )
47+ return execaCommand (
48+ `npm install --ignore-scripts --no-audit --progress=false --legacy-peer-deps` ,
49+ { cwd } ,
50+ )
4851}
4952
5053export const getFixtureSourceDirectory = ( fixture : string ) =>
You can’t perform that action at this time.
0 commit comments