Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install failed on Windows #72

Open
dozd opened this issue Nov 21, 2018 · 0 comments
Open

Install failed on Windows #72

dozd opened this issue Nov 21, 2018 · 0 comments

Comments

@dozd
Copy link

dozd commented Nov 21, 2018

$ apm install api-blueprint-preview
Installing api-blueprint-preview to C:\Users\angel\.atom\packages failed

> [email protected] install C:\Users\angel\AppData\Local\Temp\apm-install-dir-1181021-2080-1asnau7.9owb\node_modules\api-blueprint-preview\node_modules\runas
> node-gyp rebuild


C:\Users\angel\AppData\Local\Temp\apm-install-dir-1181021-2080-1asnau7.9owb\node_modules\api-blueprint-preview\node_modules\runas>if not defined npm_config_node_gyp (node "C:\Users\angel\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:/Users/angel/AppData/Local/atom/app-1.32.2/resources/app/apm/bin/../node_modules/.bin/node-gyp" rebuild )

npm WARN deprecated [email protected]: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
npm WARN deprecated [email protected]: the module is now available as 'css-select'
npm WARN deprecated [email protected]: the module is now available as 'css-what'
npm WARN lifecycle The node binary used for scripts is C:\Program Files\nodejs\node.exe but npm is using C:\Users\angel\AppData\Local\atom\app-1.32.2\resources\app\apm\bin\node.exe itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
C:\Users\angel\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\.bin\node-gyp:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
          ^^^^^^^

SyntaxError: missing ) after argument list
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:616:28)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:188:16)
    at bootstrap_node.js:609:3
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\angel\AppData\Local\Temp\apm-install-dir-1181021-2080-1asnau7.9owb\package.json'
npm WARN apm-install-dir-1181021-2080-1asnau7.9owb No description
npm WARN apm-install-dir-1181021-2080-1asnau7.9owb No repository field.
npm WARN apm-install-dir-1181021-2080-1asnau7.9owb No README data
npm WARN apm-install-dir-1181021-2080-1asnau7.9owb No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\angel\.atom\.apm\_logs\2018-11-21T14_14_00_124Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant