azer / prova

Test runner based on Tape and Browserify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: EACCES

soundyogi opened this issue · comments

commented

Hi, prova looks pretty cool but i get this error everytime:

 { [Error: EACCES, permission denied '/usr/lib/node_modules/prova/app/templates.js']
  errno: 3,
  code: 'EACCES',
  path: '/usr/lib/node_modules/prova/app/templates.js',
  syscall: 'open' }

any idea why?

thank you in advance :)

commented

my fault. I had ownership issues. sorry!

fix:

npm config set prefix ~/npm

and

$HOME/npm/bin to $PATH

sorry

@soundyogi you should use nvm anyway: https://github.com/creationix/nvm

it locates the entire node directory under your home directory so you'd never deal with permissions