xmatthias
Auto imported functions show type error in <template>
https://github.com/vuejs/pinia/discussions/2729#discussioncomment-10203206 is part of this problem - what broke it for me (the inconsistency between pinia and vue-router - in combination with auto-import)
i'm seeing this on a nuxt project too if i bump all versions to latest - though i didn't have time to investigate it yet (to me, it seemed to be related to
@nuxtjs/colormode
From the discussion - it breaks down to "does the installed packge do: declare module 'vue' {
or declare module '@vue/runtime-core' {
.
if you're using 2 packages (probably also nuxt modules?) where one uses method A, and the other method B, you get exactly this error36 replies
@nuxtjs/supabase deploy problem on cloudflare
hm - a more precise "hoist" is
.npmrc
-> public-hoist-pattern[]=@supabase/supabase-js*
...
not sure what exactly causes this ... but i'm sure it's some shadow dependency that's not listed but imported "somehow"3 replies
@nuxtjs/supabase deploy problem on cloudflare
Rather interesting side-note:
I've now found out that by using PNPM's
shamefully-hoist=true
setting, this can be fixed.
that's however a workaround, which (in my understanding) suggests that the package is not listing a dependency it would need (i do lack understanding of the nuxt underlyings to find out which one though)3 replies