0

Doing npm run tests on Ubuntu I'm getting the following error:

Error: EACCES: permission denied, unlink '/usr/lib/node_modules/ngx-bootstrap'

Francesco Borzi
  • 48,083
  • 42
  • 155
  • 225

1 Answers1

0

I solved using:

sudo chown -R $USER /usr/lib/node_modules

not sure if this is the best solution though.

Francesco Borzi
  • 48,083
  • 42
  • 155
  • 225