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
You may need an appropriate loader to handle this file type. #2934
Comments
same problem with me! |
Same issue here when running |
@thidasapankaja @dianhan8 I fixed the issue downgrading webpack to "webpack": "4.28.4" |
thank you 👍 |
Thank you @leonardoampuero ! |
So running |
Anyone knows how to fix this? None of the solutions worked |
React Boilerplate hasn't been updated since 2019. I wouldn't use it for a modern project if you can avoid it. |
Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.
Description
In the production build, it gives an error You may need an appropriate loader to handle this file type. on
npm run build
Expected behavior
run the build smoothly as the dev build
Screenshots
If applicable, add screenshots to help explain your problem.
Versions
This's the error I'm getting during the
npm run build
process on productionThis's the build command in my package.json
"build": "cross-env NODE_ENV=production webpack --config internals/webpack/webpack.prod.babel.js --color -p --progress --hide-modules --display-optimization-bailout",
How can I get this fixed ?
The text was updated successfully, but these errors were encountered: