Re: [go-cd] source code compile problem

2023-07-16 Thread Chad Wilson
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

Re: [go-cd] source code compile problem

2023-07-16 Thread Sriram Narayanan
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 ---

Re: [go-cd] source code compile problem

2023-07-16 Thread jianhua guo
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