Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rajcoder's avatar

npm install giving warnings

$ npm install

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none was installed.
npm WARN [email protected] requires a peer of imagemin@^5.0.0 but none was installed.

How to solve this?

0 likes
4 replies
rajcoder's avatar

@knubbe82 But will it not cause any problem or break something in the project? Do you also get these warning in your project?

NOMGUY's avatar

No, it won't cause any future errors @rajcoder . It is just fine. Else, if you're using a Linux system, try it using

sudo npm install

Please or to participate in this conversation.