I get this error when i run the testrpc command.
Asked
Active
Viewed 631 times
1 Answers
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
