The npm blog has been discontinued.
A new npm version has been released! As of this release, npm should never ever create root-owned files anywhere other than in root-owned folders. (Ie, this extends 6.10’s inferred cache ownership to node_modules, package.json, package-lock.json, etc.)
This also fixes the unhelpful crash that occurs when the
--user config refers to a user who does not exist on the system, which has plagued Docker users for quite some time now.
npm ci now gets access to the full suite of npm config values, making it once again suitable for installs that rely on
node-gyp having access to those values.
Last but not least, several fixes to
cmd-shim, to allow it to handle several new edge cases, and provide first-class support for PowerShell scripts.
To get it, run:
npm install -g npm@latest
View the full release notes on npm.community