You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to import the module #supabase/server in my nuxt3 project server-side, I encounter the following error message in VSCode: Cannot find module '#supabase/server' or its corresponding type declarations.
Everything runs fine, except that VSCode screams at me that it misses them and therefore no type hints/intellisense is available.
Steps to Reproduce:
Create a fresh Nuxt3 project & install @nuxtjs/supabase
Create e.g a file at /server/api/test.ts
Try to import e.g import { serverSupabaseClient } from '#supabase/server'
Additional Context:
supabase.d.ts gets created at .nuxt/types/supabase.d.ts
works temporary if you add it under includes at .nuxt/tsconfig.server.json - until you restart/rebuild ofc.
The text was updated successfully, but these errors were encountered:
Version
@nuxtjs/supabase: 0.3.6
nuxt: 3.5.2
VSC: 1.79.0 - Insiders
Current Behavior
When attempting to import the module #supabase/server in my nuxt3 project server-side, I encounter the following error message in VSCode:
Cannot find module '#supabase/server' or its corresponding type declarations.
Everything runs fine, except that VSCode screams at me that it misses them and therefore no type hints/intellisense is available.
Steps to Reproduce:
import { serverSupabaseClient } from '#supabase/server'
Additional Context:
includes
at .nuxt/tsconfig.server.json - until you restart/rebuild ofc.The text was updated successfully, but these errors were encountered: