diff --git a/script/spec-runner.js b/script/spec-runner.js index eee0d461e5..7501f14d02 100755 --- a/script/spec-runner.js +++ b/script/spec-runner.js @@ -419,7 +419,7 @@ async function installSpecModules (dir) { if (fs.existsSync(path.resolve(dir, 'node_modules'))) { await fs.promises.rm(path.resolve(dir, 'node_modules'), { force: true, recursive: true }); } - const yarnArgs = [YARN_SCRIPT_PATH, 'install', '--immutable']; + const yarnArgs = [YARN_SCRIPT_PATH, 'install']; const { status } = childProcess.spawnSync(process.execPath, yarnArgs, { env, cwd: dir,