Closed StreakingMan closed 8 months ago
same here,
[20.29.39] ERROR This module cannot be importedin server runtime. [importing @nuxt/kit from node_modules/nuxt-mongoose/dist/runtime/server/services/connection.mjs]
nuxt-mongoose 1.0.4
this has happened after updaing to latest nuxt version (not sure why and can't see effecting anything), I'll try to find the a solution
@arashsheyda You should not use the nuxt kit logger in runtime code. Instead, use consola
@manniL Yes! That was the problem.
@manniL thank you so much! you saved the day :)
A weird problem: everything works well, but I encountered the following error:
This is just for reporting purposes, and here's my environment: system: win 11 pnpm 8.5.0 nuxt 3.9.3 nuxt-mongoose 1.0.4