1
のWindows 10、ノード障害が発生した - 私が使用してジェミニインストールしよう3.6.2Windowsのビルド・ツールのインストール
8.8.1、NPM - - 5.4.2、ノードGYPを:NPMは-gジェミニをインストール
この問題について検索したところ、私はhttps://github.com/nodejs/node-gyp#on-windowsでWindows用の1つのオプションを解決しようとしていました。
このフローでは、私はwindows-build-toolsのインストールに問題があります。 私は(管理者など)にcmd.exeで実行します。NPM --global --production窓-ビルドツールをインストール
コンソール:
C:\Windows\system32>npm install --global --production windows-build-tools
> [email protected] postinstall C:\Users\p.stepanov\AppData\Roaming\npm\node_modules\windows-build-tools
> node ./lib/index.js
Downloading BuildTools_Full.exe
Downloading python-2.7.13.msi
[> ] 0.0% (0 B/s)
Downloaded python-2.7.13.msi. Saved to C:\Users\p.stepanov\.windows-build-tools\python-2.7.13.msi.
Starting installation...
events.js:182
throw er; // Unhandled 'error' event
^
Error: spawn powershell.exe ENOENT
at _errnoException (util.js:1024:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:192:19)
at onErrorNT (internal/child_process.js:374:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node ./lib/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall 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\p.stepanov\AppData\Roaming\npm-cache\_logs\2017-10-31T07_47_09_032Z-debug.log
すでに私
:
- アドオンを環境変数VCTargetsPathトップポイントはC++ ビルドツールパス
- try 2オプションhttps://github.com/nodejs/node-gyp#on-windows
誰でも助けてもらえますか?