Nie znam się specjalnie na zależnościach frontowych, ale ile razy coś dodaję to dostaję taki komunikat:

npm WARN @babel/helper-create-class-features-plugin@7.3.0 requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-named-capturing-groups-regex@7.3.0 requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN acorn-dynamic-import@4.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN babel-loader@8.0.5 requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.3.1 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.3.1 requires a peer of popper.js@^1.14.7 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"})

+ axios@0.18.0
added 68 packages in 23.249s

Pytania:

  • Tej zależności acorn-dynamic-import nawet nie mam w package.json, jakaś inna zależność musiała ją dodać.
  • Niby pisze że required a peer dependency, ale aplikacja jakoś działa bez nich. Mogę to zignorować i wrzucić na proda?
  • Nie rozumiem po co bootstrap'owi jest potrzebne jQuery? Ja chcę tylko bootstrapowe grid'y i formularze
  • fsevents jest potrzebne? Nie potrzebne?

Wolałbym zrobić tak zeby nie leciały żadne warningi (wiem też że czasem się tego nie da zrobić). Mogę je jakoś umniejszyć, poprawić coś? W załączniku package.json.