为什么我会收到此警告?

卡洛斯·托雷斯

好吧,当我使用 npm 安装一些依赖项或一些库时,有时,在命令提示符下,我会收到一些错误或警告,如下所示:

npm WARN [email protected] requires a peer of @angular/common@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/compiler@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/platform-browser@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/platform-browser-dynamic@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ [email protected]
added 1 package from 6 contributors and audited 40197 packages in 12.862s
found 1 high severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details

我使用了 npm install moment.js --save

图书馆,在这种情况下:'moment.js' 很好用!但我的疑问是,一些建议?

约翰

NPM 会警告您,因为angular-datatables需要对等依赖项,模块需要运行的特定依赖项,但这些只是警告,如果一切正常,您不需要自己安装这些对等依赖项。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

为什么我会收到此已过时的警告?!MongoDB

为什么我会收到此Perl Net :: Async :: HTTP警告?

为什么我会收到此代码的匿名类型警告?

为什么我会收到此错误

分段错误 - 为什么我会收到此错误?

为什么我会收到此异常 (gRCP)

为什么我会收到此错误:ActiveRecord::AssociationTypeMismatch?

为什么我会收到此错误?

为什么我会收到此错误窗口表格?

为什么我会收到此程序的“ValueError”消息?

为什么我会收到此错误 (NoMethodError)

为什么我会收到此 ReferenceError?

为什么我会收到此警告,以在默认实现下符合符合协议的类型上实现'hash(into :)'

为什么我会收到此例外,我在这里做错了什么

我试图接收用户的输入,但我不断收到此错误。为什么我会收到此错误?

为什么我会收到AmbiguousForeignKeysError?

为什么我会收到QUnhandledException?

为什么我会收到ClassCastException?

为什么我会收到OutOfMemoryException?

为什么我会收到 ArrayIndexOutOfBoundsException?

为什么我会收到 NetworkOnMainThreadException?

为什么我会收到 NumberFormatException?

为什么我会收到此 Cloud Firestore 函数错误?

为什么我会收到此Win32Exception?

为什么我会收到此 Python 日期时间错误?

为什么我会收到此错误“系列的真值不明确”python

为什么我会收到此 Webpack 加载程序错误?

为什么我会收到此错误“NameError:name 'self' 未定义。”

不知道为什么我会收到此错误“SyntaxError: invalid token”?