-
Notifications
You must be signed in to change notification settings - Fork 470
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
Error: Cannot find module core-js/proposals/array-flat-and-flat-map #962
Comments
Thanks for submitting this issue @mtmckenna, I was about to do the same. We have an example of deploying I highly suggest pinning a specific version (no I had to install and pin a specific |
Looks like a PR was submitted! #961 |
CI stopped working suddenly here with this error some time on Friday midday PST .. very serious!!! We are using apollo graphql which I guess depends on this, but I thought we had all our versions locked in package.json, need to understand better why we were impacted.... |
Thanks for jumping on this so quickly! We've pinned the core-js dep and rereleased. Fixes should be in |
The previously passing range of apollo-server-express versions is now failing due to a breaking change in an in-range version of core-js, which it depends on. This excludes that range. See: apollographql/apollo-tooling#962
The previously passing range of apollo-server-express versions is now failing due to a breaking change in an in-range version of core-js, which it depends on. This excludes that range. See: apollographql/apollo-tooling#962
I believe apollo server express (and likely other apollo-server-x) need to be updated as part of this fix - the dep chain looks like so and as such, I can't update to
|
Can you rollback? |
Actually I forced to use I cannot believe that old version is hitting this bug, WTF? |
@nodegin can you please clarify? Did pinning to version |
@nodegin I've confirmed at least this much, if you have any information otherwise please let me know
|
For anyone who is still running into this bug, if an You can inspect the lock files manually to see if that is the case (e.g. search for |
@mschipperheyn I don't quite follow, re: This much looks correct to me: Could you paste the error or share some more info? A reproduction would be great if you're able to provide one. |
For me, I had core-js as a root dependency, and it seemed apollo-env was using that rather than the local one. I solved this with
good:
|
Intended outcome:
Trying to install/run a serverless app using
apollo-server-lambda
.Actual outcome:
When running
apollo-server-lambda
v2.3.3, I get an error when running the server inapollo-env
. That error looks like this:I think the issue is that
apollo-env
pins thecore-js
dependency to^3.0.0-beta.3
, which currently resolves to3.0.0-beta.12
. From the looks of it, the issue is that, between beta.11 to beta.12, thearray-flat-and-flat-map.js
has moved?How to reproduce the issue:
I think running any app with
apollo-server-lambda
v2.3.3 should do it.Versions
apollo-env 0.3.0
The text was updated successfully, but these errors were encountered: