Npm WARN ajv-keywords@3.1.0 requires a peer

npm WARN ajv-keywords@3.1.0 requires a peer of ajv@ ^ 6.0.0 but none is installed. You must install peer dependencies yourself.
as mentioned above, npm gave such a warning when he created the vue project, what does this mean and how to solve it? ask the great gods for advice.

Mar.14,2021

ajv-keywords@3.1.0 the corresponding version number of this package is ajv@ ^ 6.0.0 , but you don't have it installed. You need to install it yourself

roughly means that the versions of the two packages do not correspond to each other. If you want to use ajv-keywords@3.1.0 , you should install ajv

of 6.0.0.

how to write the installation command?

Menu