2016-05-28 4 views
1

npmでエラーが発生するたびに、約20行のダーウィンエラーが表示されます。例えば、私はnpm run linteslintを実行し、それが糸くず・エラーを検出した場合、私はこの取得:npmエラーが非常に冗長であるのは普通ですか?

/Users/testerez/projects/test/webpack.config.js 
    11:7 error 'modules' is defined but never used no-unused-vars 

✖ 1 problem (1 errors, 0 warnings) 


npm ERR! Darwin 15.5.0 
npm ERR! argv "/Users/testerez/.nvm/versions/node/v4.4.2/bin/node" "/Users/testerez/.nvm/versions/node/v4.4.2/bin/npm" "run" "lint" 
npm ERR! node v4.4.2 
npm ERR! npm v3.8.5 
npm ERR! code ELIFECYCLE 
npm ERR! [email protected] lint: `eslint . --fix` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] lint script 'eslint . --fix'. 
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 test package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  eslint . --fix 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR!  npm bugs test 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls test 
npm ERR! There is likely additional logging output above. 

npm ERR! Please include the following file with any support request: 
npm ERR!  /Users/testerez/projects/test/npm-debug.log 

を私は今、数ヶ月のためにそれに住んでいたが、私はそれは騒々しい発見し、それが予想される動作だ場合、私は思ったんだけど。

ランニング:実際にはOSXエルキャピタンにNVM
NPM 3.8.5

+1

短い答えは:はい。 – afuous

答えて

0

をインストール
ノードv4.4.2、それは予想される動作です。この問題を回避するには、ここで-sまたは--silent

を使用することです、それについての議論である:https://github.com/npm/npm/issues/5452

関連する問題