atom-archive / node-runas

Run command synchronously (with Administrator privilege)
MIT License
47 stars 20 forks source link

can't install racer@0.6.0 #12

Closed wagnerma closed 9 years ago

wagnerma commented 9 years ago

I get the following error (install in atom):

runas@1.0.1 install C:\Users\mw\AppData\Local\Temp\apm-install-dir-114117-4188-1ioqogc\node_modules\racer\node_modules\pathwatcher\node_modules\runas node-gyp rebuild

C:\Users\mw\AppData\Local\Temp\apm-install-dir-114117-4188-1ioqogc\node_modules\racer\node_modules\pathwatcher\node_modules\runas>node "c:\ProgramData\chocolatey\lib\Atom.0.153.0\tools\Atom\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild

npm http GET https://registry.npmjs.org/fuzzaldrin npm http GET https://registry.npmjs.org/pathwatcher npm http GET https://registry.npmjs.org/tmp npm http GET https://registry.npmjs.org/underscore-plus npm http 304 https://registry.npmjs.org/underscore-plus npm http 200 https://registry.npmjs.org/tmp npm http GET https://registry.npmjs.org/tmp/-/tmp-0.0.24.tgz npm http 200 https://registry.npmjs.org/tmp/-/tmp-0.0.24.tgz npm http 200 https://registry.npmjs.org/fuzzaldrin npm http GET https://registry.npmjs.org/fuzzaldrin/-/fuzzaldrin-2.1.0.tgz npm http 200 https://registry.npmjs.org/pathwatcher npm http GET https://registry.npmjs.org/pathwatcher/-/pathwatcher-2.3.5.tgz npm http 200 https://registry.npmjs.org/fuzzaldrin/-/fuzzaldrin-2.1.0.tgz npm http 200 https://registry.npmjs.org/pathwatcher/-/pathwatcher-2.3.5.tgz npm http GET https://registry.npmjs.org/underscore npm http GET https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/event-kit npm http GET https://registry.npmjs.org/iconv-lite npm http GET https://registry.npmjs.org/nan/1.2.0 npm http GET https://registry.npmjs.org/fs-plus npm http GET https://registry.npmjs.org/grim npm http GET https://registry.npmjs.org/q npm http GET https://registry.npmjs.org/runas npm http GET https://registry.npmjs.org/emissary npm http 304 https://registry.npmjs.org/underscore npm http GET https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/semver npm http GET https://registry.npmjs.org/minimatch npm http GET https://registry.npmjs.org/emissary npm http GET https://registry.npmjs.org/temp npm http GET https://registry.npmjs.org/fuzzaldrin/-/fuzzaldrin-1.0.0.tgz npm http 200 https://registry.npmjs.org/event-kit npm http GET https://registry.npmjs.org/event-kit/-/event-kit-0.6.0.tgz npm http 200 https://registry.npmjs.org/grim npm http GET https://registry.npmjs.org/grim/-/grim-0.12.0.tgz npm http 200 https://registry.npmjs.org/nan/1.2.0 npm http 200 https://registry.npmjs.org/iconv-lite npm http GET https://registry.npmjs.org/nan/-/nan-1.2.0.tgz npm http GET https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.5.tgz npm http 304 https://registry.npmjs.org/emissary npm http 200 https://registry.npmjs.org/fuzzaldrin/-/fuzzaldrin-1.0.0.tgz npm http 200 https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/async/-/async-0.2.10.tgz npm http 200 https://registry.npmjs.org/runas npm http GET https://registry.npmjs.org/runas/-/runas-1.0.1.tgz npm http 200 https://registry.npmjs.org/semver npm http GET https://registry.npmjs.org/semver/-/semver-3.0.1.tgz npm http 304 https://registry.npmjs.org/minimatch npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz npm http 200 https://registry.npmjs.org/fs-plus npm http GET https://registry.npmjs.org/fs-plus/-/fs-plus-2.3.2.tgz npm http 200 https://registry.npmjs.org/q npm http GET https://registry.npmjs.org/q/-/q-1.0.1.tgz npm http 200 https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.5.tgz npm http 304 https://registry.npmjs.org/emissary npm http 304 https://registry.npmjs.org/temp npm http 200 https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/async/-/async-0.9.0.tgz npm http 200 https://registry.npmjs.org/grim/-/grim-0.12.0.tgz npm http 200 https://registry.npmjs.org/runas/-/runas-1.0.1.tgz npm http 200 https://registry.npmjs.org/nan/-/nan-1.2.0.tgz npm http 200 https://registry.npmjs.org/semver/-/semver-3.0.1.tgz npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz npm http 200 https://registry.npmjs.org/fs-plus/-/fs-plus-2.3.2.tgz npm http 200 https://registry.npmjs.org/q/-/q-1.0.1.tgz npm http 200 https://registry.npmjs.org/event-kit/-/event-kit-0.6.0.tgz npm http 200 https://registry.npmjs.org/async/-/async-0.2.10.tgz npm http 200 https://registry.npmjs.org/async/-/async-0.9.0.tgz npm http GET https://registry.npmjs.org/rimraf npm http GET https://registry.npmjs.org/property-accessors npm http GET https://registry.npmjs.org/mixto npm http GET https://registry.npmjs.org/lru-cache npm http GET https://registry.npmjs.org/sigmund npm http 304 https://registry.npmjs.org/rimraf npm http 304 https://registry.npmjs.org/mixto npm http 304 https://registry.npmjs.org/sigmund npm http 304 https://registry.npmjs.org/property-accessors npm http 304 https://registry.npmjs.org/lru-cache npm http GET https://registry.npmjs.org/mkdirp gypnpm http 200 https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz npm ERR! runas@1.0.1 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the runas@1.0.1 install script. 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.

npm ERR! System Windows_NT 6.2.9200 npm ERR! command "c:\ProgramData\chocolatey\lib\Atom.0.153.0\tools\Atom\resources\app\apm\node_modules\atom-package-manager\bin\node.exe" "c:\ProgramData\chocolatey\lib\Atom.0.153.0\tools\Atom\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\bin\npm-cli.js" "--globalconfig" "c:\ProgramData\chocolatey\lib\Atom.0.153.0\tools\Atom\resources\app\apm\node_modules\atom-package-manager.apmrc" "--userconfig" "C:\Users\mw.atom.apmrc" "install" "C:\Users\mw\AppData\Local\Temp\d-114117-4188-1nffvph\package.tgz" "--target=0.18.0" "--arch=ia32" "--msvs_version=2013" npm ERR! cwd C:\Users\mw\AppData\Local\Temp\apm-install-dir-114117-4188-1ioqogc npm ERR! node -v v0.10.33 npm ERR! npm -v 1.4.4 npm ERR! code ELIFECYCLE

Atom is not running with administrator privileges. OS is Windows 8.1 64Bit.

kevinsawicki commented 9 years ago

I'm not seeing the root cause of the error in this output such as a permissions issue, network issue, etc.

I'm going to close it out for now, please comment back with more details from the output such as running apm install --verbose racer or the latest log of the error since newer versions of npm now used by apm might provide more descriptive errors.