weixin_43314970 2019-04-08 10:59 采纳率: 0%
浏览 652

webpack build报错 ERROR in 1.ea409344b3c6c7fd1ccf.chunk.js from UglifyJs

项目可以正常运行,突然打包报错,有没有大神指点一下

ERROR in 1.ea409344b3c6c7fd1ccf.chunk.js from UglifyJs
Unexpected token: operator (>) [1.ea409344b3c6c7fd1ccf.chunk.js:4739,34]
Child html-webpack-plugin for "..\index.html":
     1 asset
Child extract-text-webpack-plugin node_modules/_extract-text-webpack-plugin@3.0.2@extract-text-webpack-plugin/dist node_modules/_css-loader@0.28.11@css-loader/index.js?minimize!node_modules/_autoprefixer-loader@3.2.0@autoprefixer-loader/index.js!node_modules/_iview@3.3.3@iview/dist/styles/iview.css:
     3 assets
Child extract-text-webpack-plugin node_modules/_extract-text-webpack-plugin@3.0.2@extract-text-webpack-plugin/dist node_modules/_css-loader@0.28.11@css-loader/index.js?minimize!node_modules/_autoprefixer-loader@3.2.0@autoprefixer-loader/index.js!node_modules/_less-loader@4.1.0@less-loader/dist/cjs.js!src/styles/my-theme.less:
                                    Asset    Size  Chunks                    Chunk Names
     d535a25a79fb1365ae814b61e88fae71.ttf  198 kB          [emitted]
    99ac3308dd8ee14f749f51538d0d5b9e.woff  198 kB          [emitted]
     a2c4a261a239aa84463dc70e4bac9b9a.svg  555 kB          [emitted]  [big]
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! smart-lock@1.2.3 build: `webpack --progress --hide-modules --config build/webpack.prod.config.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the smart-lock@1.2.3 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  • 写回答

0条回答

    报告相同问题?

    悬赏问题

    • ¥15 python中合并修改日期相同的CSV文件并按照修改日期的名字命名文件
    • ¥15 有赏,i卡绘世画不出
    • ¥15 如何用stata画出文献中常见的安慰剂检验图
    • ¥15 c语言链表结构体数据插入
    • ¥40 使用MATLAB解答线性代数问题
    • ¥15 COCOS的问题COCOS的问题
    • ¥15 FPGA-SRIO初始化失败
    • ¥15 MapReduce实现倒排索引失败
    • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
    • ¥15 找一位技术过硬的游戏pj程序员