nuxt-modules / supabase

Supabase module for Nuxt.
https://supabase.nuxtjs.org
MIT License
659 stars 121 forks source link

Warn during build process #282

Open vvadymk opened 10 months ago

vvadymk commented 10 months ago

I get this warn during the build process WARN Export "serverSupabaseClient" of module "node_modules/.pnpm/@nuxtjs+supabase@1.1.0/node_modules/@nuxtjs/supabase/dist/runtime/server/services/serverSupabaseClient.mjs" was reexported through module "node_modules/.pnpm/@nuxtjs+supabase@1.1.0/node_modules/@nuxtjs/supabase/dist/runtime/server/services/index.mjs" while both modules are dependencies of each other and will end up in different chunks by current Rollup settings. This scenario is not well supported at the moment as it will produce a circular dependency between chunks and will likely lead to broken execution order. Either change the import in "server/api/openAI/send.post.ts" to point directly to the exporting module or reconfigure "output.manualChunks" to ensure these modules end up in the same chunk. Does it matter any sense?

marco-quintella commented 7 months ago

Getting same warning, but no error regarding it catch yet.

sytexa-julia commented 1 month ago

We also get this warning, apparently for each usage in server routes and apis @nuxtjs/supabase 1.3.2