Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

[email protected] requires a peer of ajv@^6.0.0

I get that message every time when trying to install zapier-cli. Can someone help me with solving the issue?

enter image description here

like image 711
D K Avatar asked May 13 '18 20:05

D K


3 Answers

I think you need to manually install ajv or update it to version 6 if you already have a lower version installed

npm i ajv

I had a similar issue so I installed it manually and everything worked for me

like image 78
Novinyo Amegadje Avatar answered Nov 03 '22 15:11

Novinyo Amegadje


David here, from the Zapier Platform team. It looks like this is a bug with npm itself. Updating npm (npm i -g npm) or manually installing ajv (npm i -g ajv@6) should resolve the warning.

like image 18
xavdid Avatar answered Nov 03 '22 15:11

xavdid


Problems: npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed.
You must install peer dependencies by yourself.
You missed the dependencies of ajv@^6.0.0
Just install it :

npm install ajv@^6.0.0
like image 10
Mr.True Avatar answered Nov 03 '22 15:11

Mr.True