danielgtaylor / atom-api-blueprint-preview

Live preview API Blueprint in Atom
MIT License
43 stars 19 forks source link

Install failed on Windows #72

Open dozd opened 5 years ago

dozd commented 5 years ago
$ apm install api-blueprint-preview
Installing api-blueprint-preview to C:\Users\angel\.atom\packages failed

> runas@3.1.1 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 wrench@1.5.9: 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 CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: 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! 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.
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