After installing setprotocol.js, I ran into an error trying to install web3 and bignumber.js in my project.
npm ERR! code EISGIT
npm ERR! git /Users/justbob/set-demo/node_modules/websocket: Appears to be a git repo or submodule.
npm ERR! git /Users/justbob/set-demo/node_modules/websocket
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.
I ran rm -rf node_modules/websocket/.git/ in the root of my project and was able to install both packages after that.
It looks someone had a similar issue in this thread and they were able to push a fix to the repo.
After installing setprotocol.js, I ran into an error trying to install web3 and bignumber.js in my project.
npm ERR! code EISGITnpm ERR! git /Users/justbob/set-demo/node_modules/websocket: Appears to be a git repo or submodule.npm ERR! git /Users/justbob/set-demo/node_modules/websocketnpm ERR! git Refusing to remove it. Update manually,npm ERR! git or move it out of the way first.I ran
rm -rf node_modules/websocket/.git/in the root of my project and was able to install both packages after that.It looks someone had a similar issue in this thread and they were able to push a fix to the repo.