-
Notifications
You must be signed in to change notification settings - Fork 53
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
React Build Fails - Critical dependency: the request of a dependency is an expression #96
Comments
@TobyDGosselin this is usually a warning, and does not cause the build to fail, see #68 You can follow the steps there to remove the warning, but I think the error might be something else |
@giannif I am not sure where to put that file. Do I need to eject my react app for that to work? |
@TobyDGosselin reference the parcel bundler issue that I linked in the other ticket to remove the warning: parcel-bundler/parcel#2883 (comment) I don’t think this is what is failing your build, this has always just been a warning and does not make builds fail |
@giannif it will fail the build because it is in CI.
This is an actual issue and needs to be resolved. I don't want to have to run my release to prod with CI='' |
@TobyDGosselin okay then you’ll need to remove the warning as described in #68, there’s not much more I can do, it’s an issue with our bundler. I’ve never used create react app, so I can’t advise on whether or not you need to eject. Wish I could help more. |
This should not be happening at all now with latest version, we are no longer using parcel for bundling our |
When building my react app using the default react-scripts production build I get failures in CI due to the following:
Investigation has lead me to believe this is an issue with the giphy-js modules being bundled with parcel and CRA using webpack. Any suggestions on how to fix this?
The text was updated successfully, but these errors were encountered: