Closed mverdera4 closed 7 years ago
Node version? My best guess is to upgrade it to 4+.
As @SamVerschueren said, you're most likely using an outdated Node.js version. Try upgrading, and if it doesn't work, open an issue at the correct repository.
my npm version is 2.7.4.
I do a 'npm upgrade' and the version stays at 2.7.4
Node.js and npm are two different things. Go to https://nodejs.org/ (or use n
or nvm
) to update Node.js. To update npm you would do npm install -g npm@latest
.
It is working now, I did the upgrade directly from the node.js page. I mistakenly thought NPM would upgrade Node. thanks,
This is on a windows 7 Enterprise machine. Would this be the problem? I have upgraded NPM. thanks in advance, trying to make SharePoint webparts.