хорошо, когда я устанавливаю некоторую зависимость или какую-то библиотеку с помощью npm, иногда в командной строке я получаю некоторые ошибки или предупреждения, подобные этой:
npm WARN angular-datatables@6.0.0 requires a peer of @angular/common@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-datatables@6.0.0 requires a peer of @angular/compiler@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-datatables@6.0.0 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-datatables@6.0.0 requires a peer of @angular/platform-browser@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-datatables@6.0.0 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: fsevents@1.2.7 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ moment@2.24.0
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', прекрасно работает!но я сомневаюсь, что, какое-то предложение?