undefined:1625 throw new JS_Parse_Error(message, filename, line, col, pos);

问题描述

我正在使用 usemin 并且引导程序文件出现此错误,如果我从页面中进行引用(如果它有效) 不好玩:

效果很好:

错误

未定义:1625 throw new JS_Parse_Error(message,filename,line,col,pos); ^ JS_Parse_Error [SyntaxError]:无效的赋值 在 JS_Parse_Error.get (评估在 (C:\Users\NIXON\Documents\mi_pagina_web\node_modules\usemin\node_modules\uglify-js\tools\node.js:27:1),:86:23) 在 formatError (internal/util/inspect.js:1140:38) 在 formatRaw (internal/util/inspect.js:910:14) 在 formatValue (internal/util/inspect.js:765:10) 在检查 (internal/util/inspect.js:310:10) 在 afterInspector (internal/errors.js:718:14) { 文件名:'node_modules\bootstrap\dist\js\bootstrap.min.js', 线:6, 第 629 条 邮编:866 } npm 错误代码生命周期 npm 错误错误号 1 npm 错误! mi_pagina_web@1.0.0 usemin:usemin index.html -d dist --htmlmin -o dist/index.html && usemin about.html -d dist --htmlmin -o dist/about.html && usemin productos.html -d dist --htmlmin -o dist/productos.html && usemin contacto.html -d dist --htmlmin -o dist/contacto.html npm 错误退出状态 1 npm 错误! npm 错误! mi_pagina_web@1.0.0 usemin 脚本失败。 npm 错误!这可能不是 npm 的问题。上面可能有额外的日志输出

npm 错误!可以在以下位置找到此运行的完整日志: npm 错误! C:\Users\NIXON\AppData\Roaming\npm-cache_logs\2021-07-31T18_30_28_567Z-debug.log

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)