We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac1599c commit bf8076eCopy full SHA for bf8076e
1 file changed
scripts/e2e.js
@@ -131,6 +131,9 @@ function setupE2e() {
131
}
132
133
if (!packagesOk) {
134
+ // faster to remove them first
135
+ log(` [template: ${name}]`, 'removing `node_modules` directory')
136
+ fs.removeSync(path.join(dir, 'node_modules'))
137
if (npm.can.ci()) {
138
log(` [template: ${name}]`, 'installing packages using "npm ci"')
139
spawnSync('npm', ['ci'], { cwd: dir })
0 commit comments