Using the Node 18 solve my problem,thanking everyone.
在2023年7月17日星期一 UTC+8 10:04:20 写道:
> Maybe, GoCD is built with Node 18 right now.
>
> It still uses Webpack 4, which might not work correctly with Node 20.
>
> -Chad
>
> On Mon, 17 Jul 2023, 09:59 jianhua guo, wrote:
>
>> After running the
Maybe, GoCD is built with Node 18 right now.
It still uses Webpack 4, which might not work correctly with Node 20.
-Chad
On Mon, 17 Jul 2023, 09:59 jianhua guo, wrote:
> After running the command "yarn cache clean" and "rm -rf
> server/src/main/webapp/WEB-INF/rails/node_modules", I compile
I’ve got a patch for this error that I did not get around to pushing to
Chad for a review. See if it works for you:
diff --git a/server/src/main/webapp/WEB-INF/rails/package.json
b/server/src/main/webapp/WEB-INF/rails/package.json
index d1731eb250..a7df131eb8 100644
---
After running the command "yarn cache clean" and "rm -rf
server/src/main/webapp/WEB-INF/rails/node_modules", I compile the project
again, then seeing the following exception, is it the nodejs version is too
high?
> Task :server:compileAssetsWebpackDev FAILED
The commit is still at
https://github.com/dtabuenc/karma-html-reporter/commit/51ba3f91a6f19ef383c676431aa7f8c3fa73dab3
so it *should* work fine.
Perhaps try yarn cache clean and rm -rf
server/src/main/webapp/WEB-INF/rails/node_modules and try again?
If that doesn't work, what's your Yarn
I use the following command './gradlew clean prepare' to build the gocd
project. Failed with the following exception, can anyone help?
error Couldn't find match for "51ba3f91a6f19ef383c676431aa7f8c3fa73dab3" in