vue打包This is probably not a problem with npm. There is likely additional logging output above
报错后疯狂搜索
有的把node_modules文件夹删除再下载或者package-lock.json文件也删除
(删除我用的插件)
rm -rf node_modules
rm package-lock.json
npm cache clear --force
npm install
有的换webpack版本 npm i -D webpack-dev-server@2.9.7
(有的说是web版本不对,要对应下载)npm i -D webpack-dev-server@2.9.6
试过之后代码不能正常运行,只能重头再来(论备份的重要性)
最后试的es6转es5打包
运用插件babel-loader
1.下载
npm install --save-dev babel-loader@7 babel-core babel-preset-es2015
2.配置build文件夹下的webpack.base.config.js
test: /\.js$/,
loader: 'babel-loader',
exclude: /(node_modules|bower_components)/,
include: [resolve('src'), resolve('test')],
options: {presets: ['es2015']
},
头疼!!!
vue打包This is probably not a problem with npm. There is likely additional logging output above相关推荐
- This is probably not a problem with npm. There is likely additional logging output above
微信小程序开发交流qq群 173683895 承接微信小程序开发.扫码加微信. E:\weii_objct\invoice-manage-web-view>npm start > ...
- 修复This is probably not a problem with npm. There is likely additional logging output above.依赖问题
1. 问题 运行项目,一大串不知所谓的依赖报错 其中提取到错误提示如下: This is probably not a problem with npm. There is likely additi ...
- This is probably not a problem with npm. There is likely additional logging output above. 报错
今天写项目时,遇到了This is probably not a problem with npm. There is likely additional logging output above.这 ...
- npm报错 This is probably not a problem with npm,there is likely additional logging output above可能的原因
1 npm WARN Local package.json exists, but node_modules missing, did you mean to install? 解决方法: 输入npm ...
- Angular:This is probably not a problem with npm,There is likely additional logging output above.报错
报错This is probably not a problem with npm. There is likely additional logging output above. 可能由于种种版本 ...
- Vue启动报错This is probably not a problem with npm. There is likely additional logging output above.
出现原因:Vue项目中node_modules包里缺少相关插件和依赖,当拉取别人的项目时不能直接运行. 第1步 删除项目中的 node_modules 文件夹和 package-lock.json 文 ...
- vue项目,报错This is probably not a problem with npm,there is likely additional logging output above
在网上找了一下原因,是因为脚手架工具升级导致的 解决方案: npm install 安装新的版本,即可解决 运行 npm i -D webpack-dev-server@3.1.5 npm更新 npm ...
- This is probably not a problem with npm. There is likely additional logging output above. 报错解决思路
1.删除 node_modules 文件夹 2.删除 package-lock.json 文件 3.npm cache clean --force 4.npm install
- npm install引起的项目崩溃(This is probably not a problem with npm,there is likely additional logging outp)
报错This is probably not a problem with npm. There is likely additional logging output above. 参照一篇文章,w ...
最新文章
- python 图形界面文本处理_python3.6 +tkinter GUI编程 实现界面化的文本处理工具
- webAPP优化方案总结
- Python实训day12am【网络爬虫大作业简略解析:动态生成html页面、数据写入Excel】
- RxSwift之订阅UITableViewCell里的按钮点击事件
- python 防止转义_python字符串前加r、f、u、l 的区别
- php查询变量类型,php判断变量类型常用方法
- hector与gmapping总结
- 阿里笔试题:求两个子序列的最大连续子序列
- plist文件的读写
- 地区与地区编码的相互转换
- Java开发的学生考勤系统多人脸识别签到二维码签到
- Word打印目录或另存为PDF时出现“错误!未定义书签!”的解决办法
- 基于Android的MJPEG网络摄像机设计
- NLP会议介绍 2019
- 干货!容忍数据缺失的临床超声报告知识图谱乳腺癌诊断
- 2019年环175五一作业
- html网站手机最小字体大小,html在手机浏览器如何设置字体大小
- 2023最新SSM计算机毕业设计选题大全(附源码+LW)之java高校会议室管理系统w169g
- 程序员最喜欢用的 8 种代码对比工具,值得收入囊中
- php web裁剪图片上传,WEB前端实现裁剪上传图片功能