npm安装失败,但无法解决eslint依赖性

时间:2020-01-04 15:27:22

标签: javascript vue.js npm npm-install okta

当我在示例项目上运行npm install时,我得到以下结果

npm install

> @okta/samples-js-vue@0.1.0 postinstall D:\home\projects\trunk\projects\VoiceToText\samples-js-vue
> npm run install-custom-login && npm run install-okta-hosted-login


> @okta/samples-js-vue@0.1.0 install-custom-login D:\home\projects\trunk\projects\VoiceToText\samples-js-vue
> cd custom-login && npm install --allow-root

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

audited 9983 packages in 11.244s
found 554 vulnerabilities (3 low, 14 moderate, 536 high, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

> @okta/samples-js-vue@0.1.0 install-okta-hosted-login D:\home\projects\trunk\projects\VoiceToText\samples-js-vue
> cd okta-hosted-login && npm install

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

audited 9864 packages in 11.739s
found 551 vulnerabilities (3 low, 14 moderate, 533 high, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
npm WARN eslint-plugin-eslint-plugin@2.1.0 requires a peer of eslint@>=5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

audited 2069 packages in 35.602s

然后我运行了> npm审核修复程序 并得到了:

npm WARN eslint-plugin-eslint-plugin@2.1.0 requires a peer of eslint@>=5.0.0 but none is installed. You must install peer dependencies yourself.

我尝试安装eslint和eslint-plugin-eslint-plugin,但是遇到了同样的问题。 这是可以接受的警告吗?

/ D

0 个答案:

没有答案