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条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 腾讯企业邮箱邮件可以恢复么
    • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
    • ¥15 错误 LNK2001 无法解析的外部符号
    • ¥50 安装pyaudiokits失败
    • ¥15 计组这些题应该咋做呀
    • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
    • ¥15 让node服务器有自动加载文件的功能
    • ¥15 jmeter脚本回放有的是对的有的是错的
    • ¥15 r语言蛋白组学相关问题
    • ¥15 Python时间序列如何拟合疏系数模型