node-gyp icon indicating copy to clipboard operation
node-gyp copied to clipboard

Atom Editor GYP Errors

Open devsnek opened this issue 12 years ago • 11 comments

When i try to install addons to atom editor i get this error:

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp http GET https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.11.10/node-v0.11.10.tar.gz
gyp http 200 https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.11.10/node-v0.11.10.tar.gz
gyp ERR! UNCAUGHT EXCEPTION 
gyp ERR! stack Error: EPERM, utime '/home/richard/.atom/.node-gyp/.node-gyp/0.11.10'
gyp ERR! System Linux 3.11.0-19-generic
gyp ERR! command "/opt/atom/resources/app/apm/node_modules/atom-package-manager/bin/node" "/opt/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/node-gyp/bin/node-gyp.js" "install" "--target=0.11.10" "--dist-url=https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist" "--arch=x64"
gyp ERR! cwd /home/richard/.atom
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.12.2
gyp ERR! This is a bug in `node-gyp`.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR!     <https://github.com/TooTallNate/node-gyp/issues>

EDIT: I should mention that I did try updating GYP and reinstalling it.

devsnek avatar Jun 19 '14 03:06 devsnek

I received the same error.

ansgarstrother avatar Jun 20 '14 21:06 ansgarstrother

+1

asdine avatar Jun 22 '14 17:06 asdine

Same error on Mint 16:

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | ia32
gyp http GET https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.11.10/node-v0.11.10.tar.gz
gyp http 200 https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.11.10/node-v0.11.10.tar.gz
gyp ERR! UNCAUGHT EXCEPTION 
gyp ERR! stack Error: EPERM, utime '/home/mandi/.atom/.node-gyp/.node-gyp/0.11.10'
gyp ERR! System Linux 3.11.0-12-generic
gyp ERR! command "/opt/atom/resources/app/apm/node_modules/atom-package-manager/bin/node" "/opt/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/node-gyp/bin/node-gyp.js" "install" "--target=0.11.10" "--dist-url=https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist" "--arch=ia32"
gyp ERR! cwd /home/mandi/.atom
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.12.2
gyp ERR! This is a bug in `node-gyp`.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR!     <https://github.com/TooTallNate/node-gyp/issues>

manderly avatar Jun 25 '14 23:06 manderly

Same error for me

fbrundu avatar Jun 28 '14 23:06 fbrundu

+1

pcriv avatar Jun 30 '14 04:06 pcriv

Same problem in Ubuntu 12.04 with above. Even I have updated to [email protected], the apm still use [email protected].

upson avatar Jul 17 '14 05:07 upson

I've found that using the WebUpd8 PPA to install Atom instead of compiling it yourself fixes these errors, so it's probably an error outside of node-gyp despite the traceback placeholder. Instructions are located here.

mszabo-wikia avatar Jul 19 '14 11:07 mszabo-wikia

I'm seeing this issue too - Ubuntu 14.04

gchp avatar Aug 07 '14 12:08 gchp

Try this:

sudo chown <user_name> -R /home/<user_name>/.atom

it's not an node-gyp issue

denzp avatar Aug 30 '14 16:08 denzp

@devsnek Can you please close this issue if this is not an issue any more?

tk120404 avatar Mar 14 '18 17:03 tk120404

If this is still an issue comment and I'll reopen.

gibfahn avatar Mar 15 '18 14:03 gibfahn