question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EACCESS on Linux Mint

See original GitHub issue

Hey,

I tried to install the CLI globally, but encountered an issue where npm didn’t had the permission to install the package in /usr/lib/node_modules. However, after adding the --unsafe-perm=true flag to the sudo npm install --global capture-website-cli --unsafe-perm=true I was able to install it successfully.

Add it to the docs? or wiki?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jneidelcommented, Feb 8, 2019

The error has nothing to do with this package specifically.

It’s the first time I encountered this problem. All other global installs worked without passing --unsafe-perm=true.

0reactions
unigazercommented, Feb 8, 2019

I know it’s not the issue for this package specifically, I was just suggesting that you should add the --unsafe-perm=true flag in the docs, for installation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Permission denied again! (solved) - Linux Mint Forums
I have been plagued by permission problems in Linux Mint. I have just installed Linux Mint 19 MATE and OpenTX Companion 2.2.3.
Read more >
How to fix EACCES issues with npm install - Stack Overflow
in windows run cmd as administrator and then try: npm install -g <package-name>. in mac os or linux try: sudo npm install -g...
Read more >
How to fix EACCES: permission denied, access '/usr/local/lib ...
The permission error 'EACCES permission denied access, /usr/local/lib/node_modules' occurs ... Read: How to install Node.js on Linux/Ubuntu.
Read more >
Resolving EACCES permissions errors when installing ...
If you see an EACCES error when you try to install a package globally, you can either: Reinstall npm with a node version...
Read more >
EACCESS err while installing thin - Unix StackExchange
I am trying to install thin in linux mint 17. I have installed ruby via rvm . I have already install the thin...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found