Open DavidQuartz opened 3 years ago
I'm unfamiliar with CRACO, but since it is a configuration override tool, it seems likely to lead to problems with this buildpack, which also does some configuration tricks.
This buildpack was created years ago, and is not being enhanced nor maintained anymore.
I would suggest removing this buildpack from your app, and then go forward setting up the Heroku Node buildpack, and the static site buildpack yourself, thereby eliminating the "magic" that is causing conflicts.
I recently added Tailwind and CRACO to my application and pushed to Heroku.
The problem I face now is this Heroku error:
Error injecting runtime env: bundle not found '/app/build/static/js/*.js'. See: https://github.com/mars/create-react-app-buildpack/blob/master/README.md#user-content-custom-bundle-location
I did not manually change the bundle location, but I suspect craco may be the cause of this error.
Here is my
craco.config.js
:And my
package.json
:Here is the build log:
The build was successful, however the application shows a
404 Not Found
when I try to open it. So I checked the logs and found the aforementioned error.I checked to make sure this buildpack is still installed.
Is it something I am missing?