Closed matteomejia closed 1 year ago
Suffering the same issue after installing the module.
Please follow the issue template and link a minimal reproduction using https://stackblitz.com/github/dargmuesli/nuxt-cookie-control?file=playground%2Fapp.vue
If I may guess: make sure you run nuxi upgrade
whenever you upgrade Nuxt.
Made a reproduction here: link. Make sure to run npm run postinstall
and npx nuxi typecheck
.
The issue template, AFAIK, may not be able to reproduce the bug, since it always uses the latest Nuxt version to build the module.
Please try v6.4.3
when it's released shortly. I'd keep this issue open a bit longer until I'm sure my Renovate configuration does not pin the dependencies again.
I can confirm the issue is gone now that the versions match.
Updated reproduction: https://stackblitz.com/edit/nuxt-starter-gqkq1b?file=package.json I guess that issue requires further monitoring until I'm sure I understand the best way to configure dependency versions for this project.
Environment
Reproduction
Create a new Nuxt 3 project with
nuxi
and add@dargmuesli/nuxt-cookie-control
to the modules.Describe the bug
Installing the module in a project with Nuxt 3
v 3.7.3
causes the following TS errors:Excessive stack depth comparing types 'NuxtModule<ModuleOptions>' and 'NuxtModule<ModuleOptions>'. ts(2321)
Type instantiation is excessively deep and possibly infinite. ts(2589)
Looking at the
yarn.lock
file, it seems the module causes a conflict with the dependency@nuxt/kit
, where two versions are installed:3.7.1
and3.7.3
Additional context
No response
Logs
No response