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

Type instantiation is excessively deep and possibly infinite. #576

Closed
HaNdTriX opened this issue Nov 27, 2023 · 3 comments
Closed

Type instantiation is excessively deep and possibly infinite. #576

HaNdTriX opened this issue Nov 27, 2023 · 3 comments
Labels

Comments

@HaNdTriX
Copy link
Contributor

Environment


  • Operating System: Darwin
  • Node Version: v18.16.0
  • Nuxt Version: 3.7.4
  • CLI Version: 3.9.0
  • Nitro Version: 2.6.3
  • Package Manager: yarn@1.22.19
  • Builder: -
  • User Config: devtools, app, devServer, ssr, modules, css, pages, typescript, vite, runtimeConfig, routeRules, apollo
  • Runtime Modules: @nuxtjs/apollo@5.0.0-alpha.9
  • Build Modules: -

Describe the bug

When running npx nuxi typecheck I am getting the following error after updating to @nuxtjs/apollo@5.0.0-alpha.9

nuxt.config.ts:43:12 - error TS2589: Type instantiation is excessively deep and possibly infinite.

43   modules: ['@nuxtjs/apollo'],

Expected behaviour

npx nuxi typecheck should not raise an error

Reproduction

Run npx nuxi typecheck

Additional context

No response

Logs

No response

@HaNdTriX HaNdTriX added the bug label Nov 27, 2023
HaNdTriX referenced this issue Nov 27, 2023
* chore(deps): update `@nuxt/module-builder`

* fix: module types generation
@FranciscoKloganB
Copy link

I also got this one on alpha.11

@pschaub
Copy link
Contributor

pschaub commented Dec 25, 2023

I am not able to reproduce this issue.

@HaNdTriX @FranciscoKloganB Could you provide an example file nuxt.config.ts that results into this issue?

@HaNdTriX
Copy link
Contributor Author

HaNdTriX commented Feb 5, 2024

I just checked and the issue seems to be resolved in v5.0.0-alpha.11

@HaNdTriX HaNdTriX closed this as completed Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants