I get that message every time when trying to install zapier-cli. Can someone help me with solving the issue?
Asked
Active
Viewed 5.8k times
3 Answers
64
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

Novinyo Amegadje
- 699
- 4
- 11
18
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.

xavdid
- 5,092
- 3
- 20
- 32
-
1npm 6.2.0 does not issue an error message the first time (when no `node_modules` is present) but if you run `npm install` again, the message appears. – youri Jul 30 '18 at 11:58
-
Doesn't work. This has been around since May, and no resolution? How do we remove it completly? – James Bailey Dec 18 '18 at 19:11
-
2`npm i ajv@6 --save-dev` might be what you want? `-g` installs it globally. – Drew Jan 09 '19 at 16:17
-
`zapier-platform-cli` is installed globally, so its missing dependencies should be as well. – xavdid Jan 09 '19 at 17:45
-
Hi, will not updating it to this version break the build? – Malcolm Salvador Jun 28 '19 at 14:17
10
Problems: npm WARN ajv-keywords@3.2.0 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

Mr.True
- 329
- 3
- 9