You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 13, 2023. It is now read-only.
This was all running fine on Heroku up until a few hours ago when I tried to push and the build failed. I don't think I've changed anything that would have caused the build to start failing, but at this point I'm willing to believe anything.
Actual outcome:
remote: With `useBuiltIns` option, required direct setting of `corejs` option
remote:
remote: 🚨 /tmp/build_504c6bd7d9d8fa28ec87253d43d990d7/node_modules/react-apollo/react-apollo.esm.js:1044:72: Export 'graphql' is not defined (1044:72)
remote: 1042 | }
remote: 1043 |
remote: > 1044 | export { ApolloConsumer, ApolloProvider, Query, Mutation, Subscription, graphql, withQuery, withMutation, withSubscription, withApollo, getDataFromTree, renderToStringWithData, compose, RenderPromises, getMarkupFromTree };
remote: | ^
remote: 1045 |
remote: 1046 |
How to reproduce the issue:
I cannot reproduce this problem locally unfortunately. Whenever I push my project to Heroku, it does consistently fail in my heroku-postbuild step that runs npm run parcel:build.