2016-07-05 8 views
1

角度のためにインストールNPMとのトラブルを抱えている:私はこれは私がCMDプロンプトで取得していますエラーで2

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue 
> [email protected] postinstall C:\Users\hp\Desktop\angular2-seed 
> typings install 

'typings' is not recognized as an internal or external command, 
operable program or batch file. 
npm WARN optional Skipping failed optional dependency /chokidar/fsevents: 
npm WARN notsup Not compatible with your operating system or architecture: [email protected] 
npm WARN [email protected] No description 
npm WARN [email protected] No repository field. 
npm ERR! Windows_NT 10.0.10586 
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" 
"C:\\Users\\hp\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" 
npm ERR! node v4.4.7 
npm ERR! npm v3.10.3 
npm ERR! code ELIFECYCLE 
npm ERR! [email protected] postinstall: `typings install` 
npm ERR! Exit status 1 
npm ERR! 

npm ERR! Failed at the [email protected] postinstall script 'typings install'. 

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 angular2-quickstart package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  typings install 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR!  npm bugs angular2-quickstart 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls angular2-quickstart 
npm ERR! There is likely additional logging output above. 
npm ERR! Please include the following file with any support request: 
npm ERR!  C:\Users\hp\Desktop\angular2-seed\npm-debug.log 
+1

試し 'NPMタイピングをインストールする最初の私が取得しています今 – maxisam

+0

@maxisamを--global'この:C:\ Users \ユーザー馬力\デスクトップ\ angular2-シードは> NPM をインストール>インストール後[email protected] C:\ユーザーは、HP \デスクトップ\ angular2シード >タイピングが をインストール\ 10└──(ノー依存関係) NPMは、オプションのスキッピングは、オプションの依存関係/ chokidar/fseventsを失敗WARN: NPMは、オペレーティング・システムまたはアーキテクチャと互換性がないnotsup WARN:[email protected] NPMは[email protected]をWARN記述なし npm WARN [email protected]リポジトリフィールドはありません。 –

+1

私は今npmを起動して動作しています、ありがとう@ Maxisam! –

答えて

1

あなたは

「タイピングが」として認識されない表示されたら内部または外部のコマンド、操作可能なプログラム>またはバッチファイルです。

あなたは世界的にタイピングをインストールする必要がタイピング最初npm install typings --global

0

をインストールしよう: - タイピングをインストールするnpm i typings -g

関連する問題