项目运行npm install后报警告:npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed.

警告信息

在这里插入图片描述

npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of echarts@^4.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of echarts@>3.0.0 but none is installed. You must install peer dependencies yourself.

解决

需要手动安装ajv

F:\WorkSpace\GitHubFork\mall\mall\mall-admin-web>npm install ajv@^6.0.0
F:\WorkSpace\GitHubFork\mall\mall\mall-admin-web>npm install echarts@^4.1.0

你可能感兴趣的:(前端)