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
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)
The text was updated successfully, but these errors were encountered:
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.
I am getting an error when trying to run the inspector.
The text was updated successfully, but these errors were encountered: