Skip to content
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

CoreJS Error #85

Closed
jwaldrip opened this issue Feb 14, 2019 · 4 comments
Closed

CoreJS Error #85

jwaldrip opened this issue Feb 14, 2019 · 4 comments
Labels
🐞 bug Something isn't working 📦 released This issue or pull request is released

Comments

@jwaldrip
Copy link

I am getting an error when trying to run the inspector.

$ graphql-inspector diff https://api.gigsmart.com/graphql/worker https://api.dev.gigsmart.com/graphql/worker
Error: Cannot find module 'core-js/proposals/array-flat-and-flat-map'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:609:15)
    at Function.Module._load (internal/modules/cjs/loader.js:535:25)
    at Module.require (internal/modules/cjs/loader.js:663:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/Users/jwaldrip/.asdf/installs/nodejs/11.9.0/.npm/lib/node_modules/@graphql-inspector/cli/node_modules/apollo-env/src/polyfills/array.ts:1:1)
    at Module._compile (internal/modules/cjs/loader.js:734:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:745:10)
    at Module.load (internal/modules/cjs/loader.js:626:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:566:12)
    at Function.Module._load (internal/modules/cjs/loader.js:558:3)
@aeiz
Copy link

aeiz commented Feb 14, 2019

I'm getting the same. Seems like it's related to this issue. The @graphql-inspector/cli package.json explicitly references apollo-server 2.2.6 and apollo-server-express 2.2.6. Perhaps upgrading the versions might help.

@kamilkisiela kamilkisiela added the 🐞 bug Something isn't working label Feb 14, 2019
@kamilkisiela kamilkisiela added the 📦 released This issue or pull request is released label Feb 14, 2019
@kamilkisiela
Copy link
Owner

0.13.1 is out, could you check if it solved the issue?

@aeiz
Copy link

aeiz commented Feb 14, 2019

@kamilkisiela, upgrading to 0.13.1 worked for me. Thanks for your quick fix!

@kamilkisiela
Copy link
Owner

Yay :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 📦 released This issue or pull request is released
Projects
None yet
Development

No branches or pull requests

3 participants