Loading...

npm install -g ethereumjs-testrpc Not working?


npm install -g ethereumjs-testrpc not working it is showing error

npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules/ethereumjs-testrpc' npm ERR! at Error (native) npm ERR! { [Error: EACCES: permission denied, access '/usr/local/lib/node_modules/ethereumjs-testrpc'] npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/usr/local/lib/node_modules/ethereumjs-testrpc' } npm ERR! npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request: npm ERR! /home/user/npm-debug.log

- - Source

Answers

answered 8 mon ago Raju #1

sudo npm install  -g ethereumjs-testrpc You have to run this command as superuser otherwise it won't run . because it's trying to accessed your filesystem.

comments powered by Disqus