0

After downgrading node version from 0.10 to 0.8 npm is not working, I have tried npm -v

/usr/local/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:6
let url
SyntaxError: Unexpected strict mode reserved word
at Module._compile (module.js:437:25)

1 Answers1

0

I found that I need to remove the node completely and install the new vesion. I have followed following setps to uninstall the node and reinstall it.

How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)