apollographql / apollo-tooling

✏️ Apollo CLI for client tooling (Mostly replaced by Rover)
https://apollographql.com
MIT License
3.04k stars 468 forks source link

codegen breaks with latest `core-js` #2647

Open xinghul opened 2 years ago

xinghul commented 2 years ago

As described by the title, here's the error when I was trying to run apollo client:codegen:

Error: Cannot find module 'core-js/features/array/flat'

Install core-js@3.24.0 fixes the issue, but I think the package should not have core-js@^3.0.1 as deps.