Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to Fix: NPM does not support Node.js v9+

886686Jul 24 2018 — edited Jul 24 2018

Hello everyone,

I'm starting out with Oracle JET and I've already encountered an issue while installing JET, so I'll leave the problem and the solution here for anyone running into it to find.

Problem:

NPM is not supported on the latest version of Node, as of this writing LTS is 8.11.3 and latest is 10.7.0. NPM v5 does not upgrade itself to v6 on Node version 9 and above.

Solution:

Run npm uninstall -g npm and then run npm install -g npm@6.2, 6.2 being the latest version of NPM as of this writing.

You can then install JET with the npm install -g @oracle/ojet-cli command as usual.

Hope this will cut somebody a couple of hours of googling around.

Cheers!

Comments
Post Details
Added on Jul 24 2018
1 comment
562 views