GulpUglifyError:无法缩小js.map的JavaScript

GulpUglifyError:无法缩小js.map的JavaScript,javascript,gulp,mapping,Javascript,Gulp,Mapping,当我运行gulpbuild GulpUglifyError: unable to minify JavaScript Caused by: SyntaxError: Unexpected token: punc (:) File: /root/newTheme/assets/js/maps/theme.js.map Line: 1 Col: 10 我不知道这意味着什么,也不知道该找什么 我如何解决这个问题,或者我需要在这里提供什么 theme.js.map gulpfile.js 你能给我们

当我运行
gulpbuild

GulpUglifyError: unable to minify JavaScript
Caused by: SyntaxError: Unexpected token: punc (:)
File: /root/newTheme/assets/js/maps/theme.js.map
Line: 1
Col: 10
我不知道这意味着什么,也不知道该找什么

我如何解决这个问题,或者我需要在这里提供什么

theme.js.map

gulpfile.js


你能给我们看看你的gulpfile.js吗,我会安装gulp sourcemaps来帮助你缩小收到的错误范围

向我们显示
/root/newTheme/assets/js/maps/theme.js.map
中的代码,否则我们无法帮助您。对此表示抱歉。在这里;这是
gulpfile.js
我会尝试一下你的建议