• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.1 Latest
Buy Hosting

Error: gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.24"

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 11.1k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • reaonR Offline
    reaonR Offline
    reaon
    wrote on last edited by reaon
    #1

    When I run npm install, I get this error:
    gyp WARN EACCES user root does not have permission to access the dev dir /root/.node-gyp/0.10.24

    Then it tries to download node-v0.10.24.tar.gz this way:
    gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/www/nodebb/node_modules/bcrypt/.node-gyp"
    gyp http GET http://nodejs.org/dist/v0.10.24/node-v0.10.24.tar.gz

    Why it happens?

    1 Reply Last reply
    0
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by
    #2

    hey @reaon, have a look here and see if it can help you?
    https://github.com/isaacs/npm/issues/2952

    1 Reply Last reply
    0
  • reaonR Offline
    reaonR Offline
    reaon
    wrote on last edited by
    #3

    I checked it; The original issue is not related to mine but a the second post to the issue is similar to my error, but i don't have compiler error like that one.
    I want to know why it try to download node.js v0.10.14 while it's installed?!

    1 Reply Last reply
    0
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by julian
    #4

    what is your node version?

    psychobunny@dev:~$ node -v
    v0.10.24
    
    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development