After upgrading node
using brew upgrade node
:
$ node -v
v0.10.30
I do a npm update -g
:
$ npm -v
1.4.23
There is a ERR when npm ls -g
:
npm ERR! invalid: [email protected] /usr/local/lib/node_modules/npm/node_modules/columnify/node_modules/strip-ansi
npm ERR! not ok code 0
How can I fix the error?
Fixed by:
npm install -g npm
Source: https://github.com/npm/npm/issues/5913
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With