Skip to content

Package fails to install #10

@LukaHorvat

Description

@LukaHorvat

I'm using Atom 1.12.5 on Windows 10. This is the error

> runas@3.1.1 install C:\Users\darwi\AppData\Local\Temp\apm-install-dir-1161024-13564-yu5yb3\node_modules\atom-macros\node_modules\runas
> node-gyp rebuild


C:\Users\darwi\AppData\Local\Temp\apm-install-dir-1161024-13564-yu5yb3\node_modules\atom-macros\node_modules\runas>if not defined npm_config_node_gyp (node "C:\Users\darwi\AppData\Local\atom\app-1.12.5\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\darwi\AppData\Local\atom\app-1.12.5\resources\app\apm\bin\\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) 
C:\Users\darwi\AppData\Local\Temp\apm-install-dir-1161024-13564-yu5yb3
`-- (empty)


gyp ERR! configure error 
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at failNoPython (C:\Users\darwi\AppData\Local\atom\app-1.12.5\resources\app\apm\node_modules\node-gyp\lib\configure.js:449:14)
gyp ERR! stack     at C:\Users\darwi\AppData\Local\atom\app-1.12.5\resources\app\apm\node_modules\node-gyp\lib\configure.js:404:11
gyp ERR! stack     at C:\Users\darwi\AppData\Local\atom\app-1.12.5\resources\app\apm\node_modules\graceful-fs\polyfills.js:276:29
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\\Users\\darwi\\AppData\\Local\\atom\\app-1.12.5\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\darwi\\AppData\\Local\\atom\\app-1.12.5\\resources\\app\\apm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\darwi\AppData\Local\Temp\apm-install-dir-1161024-13564-yu5yb3\node_modules\atom-macros\node_modules\runas
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok 
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\darwi\AppData\Local\Temp\apm-install-dir-1161024-13564-yu5yb3\package.json'
npm WARN apm-install-dir-1161024-13564-yu5yb3 No description
npm WARN apm-install-dir-1161024-13564-yu5yb3 No repository field.
npm WARN apm-install-dir-1161024-13564-yu5yb3 No README data
npm WARN apm-install-dir-1161024-13564-yu5yb3 No license field.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Users\\darwi\\AppData\\Local\\atom\\app-1.12.5\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\darwi\\AppData\\Local\\atom\\app-1.12.5\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\darwi\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\darwi\\.atom\\.apmrc" "install" "C:\\Users\\darwi\\AppData\\Local\\Temp\\d-1161024-13564-prli3r\\package.tgz" "--runtime=electron" "--target=1.3.9" "--arch=ia32" "--global-style"
npm ERR! node v4.4.5
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE

npm ERR! runas@3.1.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the runas@3.1.1 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, 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 information on how to open an issue for this project with:
npm ERR!     npm bugs runas
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls runas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\darwi\AppData\Local\Temp\apm-install-dir-1161024-13564-yu5yb3\npm-debug.log
npm ERR! code 1

I see it requires a python executable in path and it is. But aside from this issue, would it be possible to not require python? I'm using settings-sync with atom and would like to still be able to fully setup my whole environment with one sync, instead of requiring external dependencies.

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