3

ゾンビ js をインストールしようとしていますが、次のエラーが発生します。

> contextify@0.1.8 install
C:\Users\User\Documents\ArbeitPhilipp\clieman\billing\node_modules\zombie\node_modules\jsdom\node_modules\contextify
> node-gyp rebuild

Das System kann den angegebenen Pfad nicht finden.

C:\Users\User\Documents\ArbeitPhilipp\clieman\billing\node_modules\zombie\node_modules\jsdom\node_modules\contextify>node "C:\Program Files (x86)\nodejs\nod
e_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack     at errnoException (child_process.js:980:11)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:771:34)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd
C:\Users\User\Documents\ArbeitPhilipp\clieman\billing\node_modules\zombie\node_modules\jsdom\node_modules\contextify
gyp ERR! node -v v0.10.24
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok

Windows 8 (64x) で作業しています

ノード: v0.10.24 (32)

npm: 1.3.21

パイソン: 2.7 (32)

Python への道は PATH にあります (C:\Python27\python.exe;) PYTHONPATH : C:\Python27\ PYTHON : C:\Python27\python.exe

npm install --verbose contextify 2>&1 | grep gyp

出力として与えます:

C:\Users\User\Documents\ArbeitPhilipp\clieman\billing\node_modules\contextify>node    "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\n
ode_modules\node-gyp\bin\node-gyp.js" rebuild
gyp npm verb unsafe-perm in lifecycle true
npm ERR! contextify@0.1.8 install: `node-gyp rebuild`
npm ERR!     node-gyp rebuild

このトピックに関するすべての問題を既に読みましたが、解決策が見つかりませんでした。

助けていただければ幸いです。

4

6 に答える 6

3

私は同様の問題を抱えていましたが、まったく同じことを言っていました! 最後に (node-gyp rebuild / npm install の実行中に)、「MSBUILD : error MSB4132: The tools version "2.0" is unrecognized. Available tools versions are "4.0".」というエラー メッセージが表示されることに気付きました。

Googleはこれを答えとしてくれました= https://github.com/chjj/pty.js/issues/60「Visual Studio Express 2013(C ++ Redistを備えたデスクトップ)をインストールしてください。これが役立ちます」

ここからダウンロードできます: http://www.microsoft.com/en-gb/download/details.aspx?id=40787

管理者として cmd -> npm install -> すべて正常に動作します!:D

それが役立つことを願っています!

乾杯グレッグ

于 2014-05-28T20:43:56.977 に答える
0

これは古い質問ですが、この情報が誰かの役に立ちますように。

Microsoft Visual C++ 2013 dist のみをインストールする場合は、Microsoft が提供するパッケージを次のリンクからダウンロードできます: MS Visual C++ 2013 dist

よろしくお願いします!

于 2015-01-28T11:52:13.250 に答える