git-blame icon indicating copy to clipboard operation
git-blame copied to clipboard

Error installing version 0.4.8 on atom 1.7.3

Open beccari opened this issue 8 years ago • 4 comments

Installing “[email protected]” failed.Hide output…

[email protected] install C:\Users\Beccari\AppData\Local\Temp\apm-install-dir-11643-3364-1cbgwkr\node_modules\git-blame\node_modules\pathwatcher\node_modules\runas node-gyp rebuild

C:\Users\Beccari\AppData\Local\Temp\apm-install-dir-11643-3364-1cbgwkr\node_modules\git-blame\node_modules\pathwatcher\node_modules\runas>if not defined npm_config_node_gyp (node "C:\Users\Beccari\AppData\Local\atom\app-1.7.3\resources\app\apm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )

gypnpm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Users\Beccari\AppData\Local\atom\app-1.7.3\resources\app\apm\bin\node.exe" "C:\Users\Beccari\AppData\Local\atom\app-1.7.3\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\Beccari.atom.apm.apmrc" "--userconfig" "C:\Users\Beccari.atom.apmrc" "install" "C:\Users\Beccari\AppData\Local\Temp\d-11643-3364-15x65yy\package.tgz" "--target=0.36.8" "--arch=ia32" "--msvs_version=2013" npm ERR! node v0.10.40 npm ERR! npm v2.13.3 npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the runas 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 runas npm ERR! There is likely additional logging output above.

beccari avatar May 03 '16 18:05 beccari

I get same problems.

Maybe, related https://github.com/atom/node-runas/issues/21

And, there are some deprecated issues on this repository.

I think we should specify using pathwatcher version.

mizunashi-mana avatar May 21 '16 02:05 mizunashi-mana

Same here (but on atom 1.7.4). Is there any workaround availble?

oskar avatar Jun 01 '16 09:06 oskar

I am also getting this error on Atom v1.8.0, git-blame v0.4.8


> [email protected] install C:\Users\MICHAE~1.PEN\AppData\Local\Temp\apm-install-dir-11659-10904-c8cvf\node_modules\git-blame\node_modules\pathwatcher\node_modules\runas
> node-gyp rebuild


C:\Users\MICHAE~1.PEN\AppData\Local\Temp\apm-install-dir-11659-10904-c8cvf\node_modules\git-blame\node_modules\pathwatcher\node_modules\runas>if not defined npm_config_node_gyp (node "C:\Users\michael.penrod\AppData\Local\atom\app-1.8.0\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild ) 

gypnpm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\michael.penrod\\AppData\\Local\\atom\\app-1.8.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\michael.penrod\\AppData\\Local\\atom\\app-1.8.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\michael.penrod\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\michael.penrod\\.atom\\.apmrc" "install" "C:\\Users\\MICHAE~1.PEN\\AppData\\Local\\Temp\\d-11659-10904-ayu4pa\\package.tgz" "--target=0.36.8" "--arch=ia32" "--msvs_version=2013"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas 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 runas
npm ERR! There is likely additional logging output above.

nerdybeast avatar Jun 09 '16 18:06 nerdybeast

I got this fail message too on APM -Windows 10, Atom v1.8.0, git-blame v0.4.8

First of all it seems to be related to the fact it is "Windows". I followed the guide here to try and see if it helps. so far no go https://github.com/Microsoft/nodejs-guidelines/blob/master/windows-environment.md#compiling-native-addon-modules

chancet1982 avatar Aug 01 '16 10:08 chancet1982