node.js – NPM giving error on Node version 4.4.6 on windows machine

You’re running a Node version that’s almost a decade old. Whatever project you’re trying to run probably simply uses features that have been introduced in the 18 major versions that have been released since then.

In this case it looks like your NPM is too new, and it’s trying to use object destructuring. It looks like this was introduced in version 6.

Consider upgrading to a later version. But if you’re into programming archeology you should find era-appropriate software to run on your node version.

Read more here: Source link