项目可以正常运行,突然打包报错,有没有大神指点一下
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.