I am trying to run npm install browserify both locally and globally ( -g )
but I always got the following errors
npm ERR! peerinvalid The package bn.js does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer miller-rabin@1.1.2 wants bn.js@ ^0.16.0 npm ERR! System Darwin 14.0.0 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "browserify" npm ERR! cwd /Users/kanitw/Dropbox/_Projects/_idl/_visrec/vegalite npm ERR! node -v v0.10.24 npm ERR! npm -v 1.3.21 npm ERR! code EPEERINVALID npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/kanitw/Dropbox/_Projects/_idl/_visrec/vegalite/npm-debug.log npm ERR! not ok code 0
I donβt know how to solve it.
(My version is node v0.10.24, I'm on OSX Yosemite)
source share