Node.js npm错误如此冗长是正常的吗?

Node.js npm错误如此冗长是正常的吗?,node.js,npm,darwin,Node.js,Npm,Darwin,每次我在npm上出错,它都会打印出大约20行无用的达尔文错误。例如,如果我使用npm run lint运行eslint并检测到lint错误,我会得到以下结果: /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 1

每次我在npm上出错,它都会打印出大约20行无用的达尔文错误。例如,如果我使用
npm run lint
运行
eslint
并检测到lint错误,我会得到以下结果:

/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! test@1.0.0 lint: `eslint . --fix`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the test@1.0.0 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
我和它一起生活了好几个月,但我发现它很吵,我想知道这是否是预期的行为

正在运行:
节点v4.4.2与nvm一起安装
npm 3.8.5

在OSX el Capitan上,事实上,这是预期的行为。解决方法是使用
-s
--silent


这里有一个关于它的讨论:

事实上,这是预期的行为。解决方法是使用
-s
--silent


这里有一个关于它的讨论:

简短回答:是。简短回答:是。