报错后疯狂搜索
有的把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相关推荐

  1. 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 > ...

  2. 修复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 ...

  3. 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.这 ...

  4. 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 ...

  5. 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. 可能由于种种版本 ...

  6. 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 文 ...

  7. 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 ...

  8. 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

  9. 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 ...

最新文章

  1. python 图形界面文本处理_python3.6 +tkinter GUI编程 实现界面化的文本处理工具
  2. webAPP优化方案总结
  3. Python实训day12am【网络爬虫大作业简略解析:动态生成html页面、数据写入Excel】
  4. RxSwift之订阅UITableViewCell里的按钮点击事件
  5. python 防止转义_python字符串前加r、f、u、l 的区别
  6. php查询变量类型,php判断变量类型常用方法
  7. hector与gmapping总结
  8. 阿里笔试题:求两个子序列的最大连续子序列
  9. plist文件的读写
  10. 地区与地区编码的相互转换
  11. Java开发的学生考勤系统多人脸识别签到二维码签到
  12. Word打印目录或另存为PDF时出现“错误!未定义书签!”的解决办法
  13. 基于Android的MJPEG网络摄像机设计
  14. NLP会议介绍 2019
  15. 干货!容忍数据缺失的临床超声报告知识图谱乳腺癌诊断
  16. 2019年环175五一作业
  17. html网站手机最小字体大小,html在手机浏览器如何设置字体大小
  18. 2023最新SSM计算机毕业设计选题大全(附源码+LW)之java高校会议室管理系统w169g
  19. 程序员最喜欢用的 8 种代码对比工具,值得收入囊中
  20. php web裁剪图片上传,WEB前端实现裁剪上传图片功能

热门文章

  1. LeetCode刷题: 【914】卡牌分组(求N个数的最大公因数)
  2. ESP8266刷固件
  3. python输入身份证号得到出生日期_初学django1:django模型中自定义方法从身份证号码中获取出生日期...
  4. 后端面试知识点总结 数据库 mysql
  5. Linux下lsof命令详解
  6. RK3399开发版android7.1双屏异触解决方法
  7. 常用的http状态码 状态码大全 常见的状态码
  8. JS中every()方法
  9. JS如何调用Android原生方法
  10. kotlin基础教程:<6>map集合