2017-04-09 16 views
0

私のローカルマシンに流星実行ファイルをインストールしようとしました。 meteor --versionはコマンドラインで何も表示しませんでした。私は、NPMしようとしたのPowerShellに流星をインストールし、これを得た:Meteorがローカルマシンにインストールされません

Windows PowerShell 
Copyright (C) 2016 Microsoft Corporation. All rights reserved. 

PS C:\WINDOWS\system32> npm install -g meteor 
npm WARN deprecated [email protected]: Please upgrade to 2.2.19 or higher 
npm WARN deprecated [email protected]: Use uuid module instead 
C:\Users\Owner\AppData\Roaming\npm\meteor -> C:\Users\Owner\AppData\Roaming\npm\node_modules\meteor\app\meteor\meteor.js 

> [email protected] install C:\Users\Owner\AppData\Roaming\npm\node_modules\meteor\node_modules\bson 
> node install.js || (exit 0) 

================================================================================ 
=                    = 
= Attempting to build bson c++ extension          = 
= Windows: no build will be attempted as binaries are prepackaged   = 
= Unix: on failure the package will still install without the C++ extension = 
=                    = 
================================================================================ 

> [email protected] install C:\Users\Owner\AppData\Roaming\npm\node_modules\meteor\node_modules\fibers 
> node ./build.js 

(node:9716) DeprecationWarning: child_process: options.customFds option is deprecated. Use options.stdio instead. 
events.js:160 
     throw er; // Unhandled 'error' event 
    ^

Error: spawn node-gyp ENOENT 
    at exports._errnoException (util.js:1018:11) 
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) 
    at onErrorNT (internal/child_process.js:367:16) 
    at _combinedTickCallback (internal/process/next_tick.js:80:11) 
    at process._tickCallback (internal/process/next_tick.js:104:9) 
    at Module.runMain (module.js:606:11) 
    at run (bootstrap_node.js:393:7) 
    at startup (bootstrap_node.js:150:9) 
    at bootstrap_node.js:508:3 
C:\Users\Owner\AppData\Roaming\npm 
`-- (empty) 

npm ERR! Windows_NT 10.0.14393 
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "ins 
tall" "-g" "meteor" 
npm ERR! node v6.10.1 
npm ERR! npm v3.10.10 
npm ERR! code ELIFECYCLE 

npm ERR! [email protected] install: `node ./build.js` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node ./build.js'. 
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 fibers package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  node ./build.js 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR!  npm bugs fibers 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls fibers 
npm ERR! There is likely additional logging output above. 

npm ERR! Please include the following file with any support request: 
npm ERR!  C:\WINDOWS\system32\npm-debug.log 
npm ERR! code 1 

はGitのBashの上の同じコマンドは同じ結果になりました。どのようにこれを解決できますか?私はpowershellとgit bashの "管理者として実行"しようとしたことに注意してください。 Windows上で

+0

窓に流星をインストールする正しい方法は今のところ公式のインストーラを使用しています。あなたはそれをここに見つけることができます:https://www.meteor.com/install –

答えて

0

は、流星のインストーラを使用して流星をインストール: https://www.meteor.com/install

+0

私はインストーラを試しましたが、私は流星を入力するとバージョンを表示することもできません--version –

+0

流星cliへのアクセスがあれば流星ショー流星 –

関連する問題