-
Couldn't load subscription status.
- Fork 3.8k
Update knownBroken version
#165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
As I've documented [here](https://github.com/creationix/nvm/blob/master/nvm.sh#L237) in `nvm install-latest-npm`, the last version of `npm` that works on node < v6 is npm v5 - npm v6+ requires node 6.
|
What breaks with |
|
Unfortunately I didn't document it in my commit message, but local testing indicates: nvm install 5
npm install -g npm@6.0.0
…
$ npm ls
$HOME/.nvm/versions/node/v5.11.1/lib/node_modules/npm/bin/npm-cli.js:79
let notifier = require('update-notifier')({pkg})
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict modeAdding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like it breaks after all! Thanks for the PR, we'll be including it in a release soon. 👍 🐑 🚀 💥
As I've documented here in
nvm install-latest-npm, the last version ofnpmthat works on node < v6 is npm v5 - npm v6+ requires node 6.