eslint-webpack-plugin
eslint-webpack-plugin copied to clipboard
Build error in ci tool.
My reator app (created by create-react-app) build error when in ci tool.(already set CI = true)
Bug report
the error log in ci tool(node image node:16)
[2022-08-24 17:23:44] > react-scripts build
[2022-08-24 17:23:44]
[2022-08-24 17:23:45] /root/workspace/node_modules/eslint-webpack-plugin/node_modules/jest-worker/build/index.js:110
[2022-08-24 17:23:45] _ending;
[2022-08-24 17:23:45] ^
[2022-08-24 17:23:45]
[2022-08-24 17:23:45] SyntaxError: Unexpected token ;
I have same error when build React app in CI/CD. This issue not solved yet? node: 14 eslint: 8.23.0 eslint-webpack-plugin: 3.2.0
+1 here, node 16 & 18 both run into this issue. I have overridden eslint-webpack-plugin to 3.1.1 to workaround.
"overrides": {
"eslint-webpack-plugin": "3.1.1"
}
Edit: Turns out it was related to an outdated version of Node, make sure for real that you're using a recent version of Node.
Possibly a problem with jest-worker
In the next version, the jest-worker dependency will be updated
Sorry for delay
I change another ci tool and build successfully so close the issue.