-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Craco build failing on docker #450
Comments
Same to me, any updates regarding this error ? |
@dilanx Could anyone please share the workable for this issue? |
Are you sure this is a craco issue? Try looking at this: https://stackoverflow.com/questions/71040681/qemu-x86-64-could-not-open-lib64-ld-linux-x86-64-so-2-no-such-file-or-direc |
I had tried this earlier but changing the base image did not make any difference. |
Any updates regarding this issue ? |
@GauravT500 did you find any solution about this issue ? |
@GauravT500 This issue not related to Craco . If i remove the html-critical-webpack-plugin then the build error resolved . You can also check the details here https://www.npmjs.com/package/html-critical-webpack-plugin |
@snairsumith Yes, I tried this if you want to use html-critical-webpack-plugin then you need chrome/chromium installed in the docker container. |
Hi @GauravT500 are you using Ubuntu ? |
When I run the build on local it works fine but on docker, it fails.
Error: Failed to launch chrome!
I am not trying to launch chrome from my docker but on docker it's failing due to this reason.
Please ignore the deprecation warning those warnings are also coming on the local build.
The craco config file that I have used.
The text was updated successfully, but these errors were encountered: