2

I get this error when i run the testrpc command.

node version v5.11.1 npm version 3.8.6 web3 0.15.3 enter image description here

eth
  • 85,679
  • 53
  • 285
  • 406
Kizito
  • 779
  • 1
  • 8
  • 17

1 Answers1

2

This is most likely a node.js issue with your installation rather than a testrpc problem. Try removing the node_modules directory and reinstalling:

rm -rf node_modules/
npm install
dbryson
  • 6,403
  • 2
  • 27
  • 37
  • Thanks @dbryson Actually I had to uninstall both testrpc and npm. – Kizito Jun 02 '16 at 00:38
  • Thanks @dbryson I actually had to remove npm, node and testrpc then go to https://docs.npmjs.com/getting-started/fixing-npm-permissions#option-2-change-npms-default-directory-to-another-directory to give npm write permissions, install node version 6 and then reinstall npm and ethereumjs-testrpc – Kizito Jun 02 '16 at 00:40