Closed GauravT500 closed 2 years ago
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 ? I am installed chromium-browser but still getting the error
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.