npm install ReferenceError: console is not defined
| Trying to install npm with: [bash]curl http://npmjs.org/install.sh | sh[/bash] |
Returns:
ReferenceError: console is not defined:
Cause: NodeJS not properly installed.
Solution: Goto NodeJS download and get the latest tar package and install it yourself. Usual install procedure: [bash] tar -zxvf node-whatever.tar.gz cd node-whatever ./configure make make install [/bash]
Now try again and it should work :)