xiaoqiang730730 / vue_apicloud

build a hybrid application using vue and apicloud
https://xiaoqiang730730.github.io/vue_apicloud/oneweekoneapp.html
34 stars 11 forks source link

npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself. #3

Closed ftlh2005 closed 5 years ago

ftlh2005 commented 5 years ago

npm install 提示以下错误

npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.

added 1832 packages from 1159 contributors and audited 32161 packages in 37.456s found 13 vulnerabilities (2 low, 1 moderate, 9 high, 1 critical) run npm audit fix to fix them, or npm audit for details

xiaoqiang730730 commented 5 years ago

npm 包缺失 手动安装下 npm i ajv --save

sugarnut001 commented 5 years ago

npm install ajv@^5.0.0 --save 必须要指定版本才可以,要不然还是会安装失败