Type instantiation is excessively deep and possibly infinite #422
Open
Description
Related plugins
Describe the bug
I have this type of error when installing the Vite plugin Vue on my Nuxt app. I don't really know if I have to create this issue here or in the Nuxt repo, but I think it is more related to the plugin.
Reproduction
https://github.com/HugoRCD/shelve/blob/main/apps/app/nuxt.config.ts
Steps to reproduce
bun run dev
System Info
System:
OS: macOS 15.0
CPU: (8) arm64 Apple M1 Pro
Memory: 75.13 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.14.0 - ~/.nvm/versions/node/v20.14.0/bin/node
npm: 10.7.0 - ~/.nvm/versions/node/v20.14.0/bin/npm
pnpm: 8.15.6 - ~/Library/pnpm/pnpm
bun: 1.1.15 - ~/.bun/bin/bun
Browsers:
Chrome: 122.0.6261.94
Safari: 18.0
Used Package Manager
npm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.