Vue 报错 | warn ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must insta
git clone 一个 vue 项目,npm install ,结果报错:
warn ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
没办法,解决呗,找一下日志。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.9.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.9.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! E:\Java\nodejs\node_cache\_logs\2019-08-08T14_25_20_239Z-debug.log
解决办法
安装对应版本
npm install ajv@^6.0.0
npm install node-sass@4.9.0
如果报错,是不是却少python环境
最后在,安装 node_modules
npm install
具体报错详细信息:
..............
3192 silly saveTree | | +-- get-stream@3.0.0
3192 silly saveTree | | +-- is-stream@1.1.0
3192 silly saveTree | | +-- npm-run-path@2.0.2
3192 silly saveTree | | | `-- path-key@2.0.1
3192 silly saveTree | | +-- p-finally@1.0.0
3192 silly saveTree | | `-- strip-eof@1.0.0
3192 silly saveTree | `-- mem@1.1.0
3192 silly saveTree +-- read-pkg-up@2.0.0
3192 silly saveTree | `-- read-pkg@2.0.0
3192 silly saveTree | +-- load-json-file@2.0.0
3192 silly saveTree | | +-- pify@2.3.0
3192 silly saveTree | | `-- strip-bom@3.0.0
3192 silly saveTree | `-- path-type@2.0.0
3192 silly saveTree | `-- pify@2.3.0
3192 silly saveTree +-- which-module@2.0.0
3192 silly saveTree +-- y18n@3.2.1
3192 silly saveTree `-- yargs-parser@7.0.0
3192 silly saveTree `-- camelcase@4.1.0
3193 warn ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
3194 warn echarts-liquidfill@2.0.3 requires a peer of echarts@^4.1.0 but none is installed. You must install peer dependencies yourself.
3195 warn v-charts@1.19.0 requires a peer of echarts@>3.0.0 but none is installed. You must install peer dependencies yourself.
3196 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.3 (node_modules\fsevents):
3197 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
3198 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
3198 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
3198 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: win32
3198 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
3199 verbose stack Error: node-sass@4.9.0 postinstall: `node scripts/build.js`
3199 verbose stack Exit status 1
3199 verbose stack at EventEmitter.<anonymous> (E:\Java\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
3199 verbose stack at EventEmitter.emit (events.js:203:13)
3199 verbose stack at ChildProcess.<anonymous> (E:\Java\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
3199 verbose stack at ChildProcess.emit (events.js:203:13)
3199 verbose stack at maybeClose (internal/child_process.js:1021:16)
3199 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
3200 verbose pkgid node-sass@4.9.0
3201 verbose cwd D:\Desktop\家庭云\wbw-mall\mall-admin-web
3202 verbose Windows_NT 6.1.7601
3203 verbose argv "E:\\Java\\nodejs\\node.exe" "E:\\Java\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--scripts-prepend-node-path=auto"
3204 verbose node v12.6.0
3205 verbose npm v6.9.0
3206 error code ELIFECYCLE
3207 error errno 1
3208 error node-sass@4.9.0 postinstall: `node scripts/build.js`
3208 error Exit status 1
3209 error Failed at the node-sass@4.9.0 postinstall script.
3209 error This is probably not a problem with npm. There is likely additional logging output above.
3210 verbose exit [ 1, true ]
Vue 报错 | warn ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must insta相关推荐
- npm安装webpack时,报错npm WARN ajv-keywords@3.1.0 requires a peer of ajv@^6.0.0 but none is installed.
npm WARN ajv-keywords@3.1.0 requires a peer of ajv@^6.0.0 but none is installed. You must install pe ...
- npm install报错,npm WARN ajv-keywords@3.4.0 requires a peer of ajv@^6.9.1 but none is installed. You m
报错 npm WARN ajv-keywords@3.4.0 requires a peer of ajv@^6.9.1 but none is installed. You must install ...
- npm 报错 ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0
报错提示 npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must insta ...
- Vue “npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed”
问题描述 vue npm install 后出现警告: Vue "npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 b ...
- 问题:npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed.
在react项目中, npm install 时,报错: npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is i ...
- npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed.
今天使用npm install 时一直发现有个WARN 作为一名稍微有代码洁癖和警告排障者来说 实在是不能忍 WARN信息:npm WARN ajv-keywords@3.2.0 requires a ...
- npm WARN ajv-keywords@3.1.0 requires a peer of ajv@^6.0.0 but none is installed. You must install pe
npm install 依赖警告 npm WARN ajv-keywords@3.1.0 requires a peer of ajv@^6.0.0 but none is installed. Yo ...
- npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install pe ...
- ajv-keywords@3.1.0 requires a peer of ajv@^6.0.0 but none was installed.
ajv-keywords@3.1.0 requires a peer of ajv@^6.0.0 but none was installed. 更新的最新的包 总是提示这个问题 解决办法:执行np ...
最新文章
- php中类和对象的操作
- Shell的一些基本用法
- 旗帜鲜明的反对李彦宏当选院士!
- learnByWork
- hdu 1317——XYZZY
- 爬虫小案例:基于Bing关键词批量下载图片
- python对数组的操作_Python对数组的基本操作
- 小程序开发 宽度100%_这是您作为开发人员可以实现100%年度目标的方式
- Duplicate keys detected: ‘checks‘. This may cause an update error. found in
- table内容保存到Excel中
- r5处理器_买完笔记本特别的卡?那是因为你买笔记本之前,处理器没选对
- BI项目实施完成,不知道怎么进行测试?Smartbi手把手教你
- 计算机换色带技巧,平乐园电脑维修店教你爱普生针式打印机更换色带基本办法...
- 启用了被称为 HTTP 严格传输安全(HSTS)的安全策略,Firefox 只能与其建立安全连接
- 微信小程序 环形进度条_微信小程序实现圆形进度条
- Springboot中使用freemarker动态生成word文档
- 2020-4-24 Open Web Application Security Project (OWASP)
- apr 移植android平台,omap3530移植android4.0
- 动态水印跟踪去除_视频动态水印如何去除 视频中不定时出现的图片加文字广告如何尽量模糊处理...
- 【机器学习课程】 第一章机器学习概述 1.人工智能
热门文章
- 【转】web移动端一些常用知识
- □ 影片名:《唐山大兄》(34)
- 修改ToolBar的标题、子标题字体大小和颜色,toolbar menu字体的大小和颜色以及注意事项
- 高通android 11,4290平台,更改分区
- Linux C 判断文件是否存在,是否可读,可写,可执行
- 电源变频驱动主要有哪2种驱动方式?原理如何
- 浅谈LCS LIS
- arcgis 快速制图插件_ArcGIS中定义图框样式
- Android 添加重启菜单,修改关机菜单加入重启、重启至Recovery和重启至Bootloader
- python+OpenCv笔记(二):绘制几何图形