Skip to content

Node version error #51

@VladimirCores

Description

@VladimirCores

Any idea how to fix this

pwuid@1.0.2 install /usr/lib/node_modules/pm2-web/node_modules/pwuid
node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/home/dqvsra/.node-gyp/2.3.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/pm2-web/node_modules/pwuid/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 404 status code downloading tarball
gyp ERR! stack at Request. (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:246:14)
gyp ERR! stack at emitOne (events.js:82:20)
gyp ERR! stack at Request.emit (events.js:169:7)
ERR! stack at Request.onResponse (/usr/lib/node_modules/npm/node_modules/request/request.js:1085:10)
gyp ERR! stack at ClientRequest.g (events.js:260:16)
gyp ERR! stack at emitOne (events.js:77:13)
gyp ERR! stack at ClientRequest.emit (events.js:169:7)
gyp ERR! stack at HTTPParser.parserOnIncomingClient (_http_client.js:415:21)
gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23)
gyp ERR! stack at Socket.socketOnData (_http_client.js:305:20)
gyp ERR! System Linux 3.16.0-30-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/pm2-web/node_modules/pwuid
gyp ERR! node -v v2.3.0
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"2.3.0","npm":"1.4.28"})

ws@0.4.32 install /usr/lib/node_modules/pm2-web/node_modules/ws
(node-gyp rebuild 2> builderror.log) || (exit 0)

mdns2@2.1.4 install /usr/lib/node_modules/pm2-web/node_modules/mdns2
node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/home/dqvsra/.node-gyp/2.3.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/pm2-web/node_modules/mdns2/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 404 status code downloading tarball
gyp ERR! stack at Request. (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:246:14)
gyp ERR! stack at emitOne (events.js:82:20)
gyp ERR! stack at Request.emit (events.js:169:7)
gyp ERR! stack at Request.onResponse (/usr/lib/node_modules/npm/node_modules/request/request.js:1085:10)
gyp ERR! stack at ClientRequest.g (events.js:260:16)
gyp ERR! stack at emitOne (events.js:77:13)
gyp ERR! stack at ClientRequest.emit (events.js:169:7)
gyp ERR! stack at HTTPParser.parserOnIncomingClient (_http_client.js:415:21)
gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23)
gyp ERR! stack at Socket.socketOnData (_http_client.js:305:20)
gyp ERR! System Linux 3.16.0-30-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/pm2-web/node_modules/mdns2
gyp ERR! node -v v2.3.0
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"2.3.0","npm":"1.4.28"})
npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"2.3.0","npm":"1.4.28"})
npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"2.3.0","npm":"1.4.28"})
npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"2.3.0","npm":"1.4.28"})
npm WARN optional dep failed, continuing mdns2@2.1.4
npm ERR! pwuid@1.0.2 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pwuid@1.0.2 install script.
npm ERR! This is most likely a problem with the pwuid package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls pwuid
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.16.0-30-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "pm2-web"
npm ERR! cwd /home/dqvsra/Documents/Projects/Servers/PM2/express
npm ERR! node -v v2.3.0
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
dqvsra@workstation:~/Documents/Projects/Servers/PM2/express$ pm2-web
pm2-web: command not found

?

Ubuntu 15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions