-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fresh install fail on Mac: Cannot find module 'core-js/proposals/array-flat-and-flat-map' #2263
Comments
I was experiencing the exact same problem here. I temporarily fixed it by setting |
Related to apollographql/apollo-tooling#962 |
thanks for that! my workaround was to downgrade my apollo-server version. 😬 |
"dependencies": { Not sure why the workaround is not working for me. |
I'm so relieved I'm not the only one having this issue. I'm not sure if this helps but I'm on a Mac using express and |
finally copied core-js "core-js": "3.0.0-beta.11" to |
The last night I spent some hours investigating this and I was able to solve by installing this version [email protected] and [email protected]. |
I have had apollo-server-express (2.3.1) deployed for months on heroku running against express 4.16.4. As of this morning I cannot restart the server successfully because of this error. I have tried all of the workaround suggested above. Nothing has worked. |
I'm hitting this as well inasmuch as a previously working installation is now no longer working after a new BTW - for me this is happening on Ubuntu 14.x and 18.x so it's not just related to Macs. |
Experiencing same issue - not able to redeploy my dockerised production app - using node / debian stretch base container. I have tried workaround changing "apollo-server-express": "^2.3.3" but to no avail. |
I also had the same problem by just setting up a simple server like in the docs with no extra code |
It may be any version between 3 and 11, issue is known since 12 |
I've installed
And it worked just fine. It's a yarn feature https://yarnpkg.com/lang/en/docs/selective-version-resolutions/ , I don't know if it would work with npm. |
Thanks @shalkam! This wa worked just fine! |
Thank you to all those that reported this and supplied the appropriate work-arounds. This should have been fixed by There were no changes to If anyone is still experiencing this problem, please do report back! |
@abernix I'm experience this issue. My comment here: apollographql/apollo-tooling#962 (comment) and my issue here: apollographql/apollo-tooling#1481 |
A fresh install fails as follows after including
const { ApolloServer, gql } = require('apollo-server');
:Here is my
package.json
:The text was updated successfully, but these errors were encountered: