vite-plugin-vue icon indicating copy to clipboard operation
vite-plugin-vue copied to clipboard

Type instantiation is excessively deep and possibly infinite

Open HugoRCD opened this issue 1 year ago • 2 comments

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. CleanShot 2024-06-28 at 16 39 41 CleanShot 2024-06-28 at 16 39 50

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

HugoRCD avatar Jun 28 '24 14:06 HugoRCD

Having the same issue. Everything works though, the error can be suppressed using @ts-expect-error or @ts-ignore.

juni0r avatar Aug 05 '24 11:08 juni0r

Will a fix be realeased for this?

tobychidi avatar Sep 22 '24 12:09 tobychidi

I believe this isn't caused by the code on plugin-vue side and guess it's related to https://github.com/nuxt/nuxt/issues/31908.

sapphi-red avatar Apr 26 '25 17:04 sapphi-red