我正在尝试使用此命令将Jhipster项目转换为war,而我收到以下错误。命令为gradlew -Pprod bootRepackage
events.js:141
throw er; // Unhandled 'error' event
^
at new HTMLParser (C:\kaisify-demo\node_modules\html-minifier\src\htmlparser.js:236:13)
at minify (C:\kaisify-demo\node_modules\html-minifier\src\htmlminifier.js:861:3)
at Object.exports.minify (C:\kaisify-demo\node_modules\html-minifier\src\htmlminifier.js:1216:10)
at objectAssign.fileName (C:\kaisify-demo\node_modules\gulp-htmlmin\index.js:22:39)
at module.exports (C:\kaisify-demo\node_modules\tryit\tryit.js:8:9)
at minifyHtml (C:\kaisify-demo\node_modules\gulp-htmlmin\index.js:21:9)
at Transform.htmlminTransform [as _transform] (C:\kaisify-demo\node_modules\gulp-htmlmin\index.js:51:7)
at Transform._read (C:\kaisify-demo\node_modules\readable-stream\lib\_stream_transform.js:159:10)
at Transform._write (C:\kaisify-demo\node_modules\readable-stream\lib\_stream_transform.js:147:83)
at doWrite (C:\kaisify-demo\node_modules\readable-stream\lib\_stream_writable.js:319:64)
at writeOrBuffer (C:\kaisify-demo\node_modules\readable-stream\lib\_stream_writable.js:308:5)
at Transform.Writable.write (C:\kaisify-demo\node_modules\readable-stream\lib\_stream_writable.js:246:11)
at write (C:\kaisify-demo\node_modules\gulp\node_modules\readable-stream\lib\_stream_readable.js:623:24)
at flow (C:\kaisify-demo\node_modules\gulp\node_modules\readable-stream\lib\_stream_readable.js:632:7)
at DestroyableTransform.pipeOnReadable (C:\kaisify-demo\node_modules\gulp\node_modules\readable-stream\lib\_stream_readable.js:664:5)
at emitNone (events.js:67:13)
:gulpBuildWithOpts FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':gulpBuildWithOpts'.
> Process 'command 'node'' finished with non-zero exit value 1