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) =>
45
45
}
46
46
47
47
// 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 `
49
49
const { packageManager } = JSON . parse ( await readFile ( join ( cwd , 'package.json' ) , 'utf8' ) )
50
50
if ( packageManager ?. startsWith ( 'pnpm' ) ) {
51
51
// 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) {
44
44
cwd,
45
45
} )
46
46
}
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
+ )
48
51
}
49
52
50
53
export const getFixtureSourceDirectory = ( fixture : string ) =>
You can’t perform that action at this time.
0 commit comments