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.

Permission error on new release

See original GitHub issue

i’m trying to upgrade (on Jessie) from 3.6.18 (work perfectly) to 3.6.22 and this is result:


> raw-socket@1.7.0 install /home/pi/node_modules/raw-socket
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.16.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
gyp ERR! configure error 
gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/pi/node_modules/raw-socket/build'
gyp ERR! System Linux 4.9.35-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/node_modules/raw-socket
gyp ERR! node -v v8.16.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! raw-socket@1.7.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the raw-socket@1.7.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-01-20T22_10_10_136Z-debug.log

Upgrade other plugin work fine

What can i do? Thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
Sciallacommented, Jan 21, 2020

i’ve tried, after update npm, to install differente version of plugin; all the time i’ve same last error BUT, with version until 3.6.18, plugin work and HB start, from 3.6.20 plugin don’t work and HB don’t start anymore

i will remain with 3.6.18, new version make me crash HB

1reaction
Sciallacommented, Jan 21, 2020

some warning but, works!!! Thanks!!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Access Denied" or other errors when you access or work with ...
Issue 2: You cannot access, change, save, or delete files and folders. Issue 3: You cannot open a file or folder after you...
Read more >
How to resolve the "Permission Denied" error in Linux
While using Linux, you may encounter the error, “permission denied”. This error occurs when the user does not have the privileges to make...
Read more >
VS402904: Access denied: User does not have edit release ...
I am a project administrator and I'm trying to create a release pipeline. ... User <user> does not have edit release pipeline permission....
Read more >
Permission denied error on Github Push - Stack Overflow
one final answer (the others no doubt really answered it): it may also be, you are running a really old git version. upgrade...
Read more >
Troubleshoot "Permission denied (Publickey)" or ...
1. Open the Amazon EC2 console. · 2. Choose Instances from the navigation pane, and then select the instance you are trying to...
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