2017-09-08 13 views
0

LaravelプロジェクトにNPMをインストールする際に問題があります。私はnpm installを書きましたが、実際にこのエラーが発生しました.NodeとNPMがコンピュータを再起動しましたが、何も動作しません。NPMはインストールされません

私は管理者としてCMDでコマンドを実行した後、ログ:

484 verbose unlock done using C:\Users\Juraj\AppData\Roaming\npm-cache\_locks\staging-c4bd3be9cd8785e1.lock for C:\Users\Juraj\Desktop\CMS\CMS\node_modules\.staging 
485 silly rollbackFailedOptional Starting 
486 silly rollbackFailedOptional Finishing 
487 silly runTopLevelLifecycles Finishing 
488 silly install printInstalled 
489 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.0.0 
(node_modules\chokidar\node_modules\fsevents): 
490 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) 
491 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin 
491 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any 
491 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: win32 
491 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64 
492 verbose stack Error: [email protected] postinstall: `node lib/install.js` 
492 verbose stack Exit status 1 
492 verbose stack  at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16) 
492 verbose stack  at emitTwo (events.js:106:13) 
492 verbose stack  at EventEmitter.emit (events.js:191:7) 
492 verbose stack  at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14) 
492 verbose stack  at emitTwo (events.js:106:13) 
492 verbose stack  at ChildProcess.emit (events.js:191:7) 
492 verbose stack  at maybeClose (internal/child_process.js:891:16) 
492 verbose stack  at Process.ChildProcess._handle.onexit 
(internal/child_process.js:226:5) 
493 verbose pkgid [email protected] 
494 verbose cwd C:\Users\Juraj\Desktop\CMS\CMS 
495 error Windows_NT 6.1.7601 
496 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 
497 error node v6.11.1 
498 error npm v3.10.10 
499 error code ELIFECYCLE 
500 error [email protected] postinstall: `node lib/install.js` 
500 error Exit status 1 
501 error Failed at the [email protected] postinstall script 'node lib/install.js'. 
501 error Make sure you have the latest version of node.js and npm installed. 
501 error If you do, this is most likely a problem with the gifsicle package, 
501 error not with npm itself. 
501 error Tell the author that this fails on your system: 
501 error  node lib/install.js 
501 error You can get information on how to open an issue for this project with: 
501 error  npm bugs gifsicle 
501 error Or if that isn't available, you can get their info via: 
501 error  npm owner ls gifsicle 
501 error There is likely additional logging output above. 
502 verbose exit [ 1, true ] 
+0

PHPはどこですか?これはNode.JSとNPMとしてのみタグ付けされるべきではありませんか?今後あなたの投稿をフォーマットしてください。 – Script47

答えて

0

私はちょうどノード8を取り外し、ノード6をインストールするには、今ではすべてオールライトです。

関連する問題