You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The removal of node_modules was happening in a race with the loading of
the virtualTree, and before the validation of the package-lock against
the package.json. This defers the removal till after all that
validation has happened.
It also makes the errors thrown usage errors, and refactors the tests to
be real.
Copy file name to clipboardExpand all lines: smoke-tests/tap-snapshots/test/index.js.test.cjs
+14
Original file line number
Diff line number
Diff line change
@@ -43,10 +43,24 @@ npm {CWD}
43
43
`
44
44
45
45
exports[`test/index.js TAP npm ci > should throw mismatch deps in lock file error 1`]=`
46
+
npm ERR! code EUSAGE
47
+
npm ERR!
46
48
npm ERR! \`npm ci\` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with \`npm install\` before continuing.
0 commit comments