arashsheyda / nuxt-mongoose

A Nuxt module for simplifying the use of Mongoose in your project.
https://docs.arashsheyda.me/nuxt-mongoose
69 stars 11 forks source link

ERROR This module cannot be importedin server runtime. [18:24:26] [importing @nuxt/kit from node_modules...] #48

Closed zyhnbyyds closed 4 months ago

zyhnbyyds commented 4 months ago

image

hi, bro when i use this package, I got this error.

my packages

"@bytemd/plugin-breaks": "^1.21.0",
    "@bytemd/plugin-frontmatter": "^1.21.0",
    "@bytemd/plugin-gemoji": "^1.21.0",
    "@bytemd/plugin-gfm": "^1.21.0",
    "@bytemd/plugin-highlight": "^1.21.0",
    "@bytemd/vue-next": "^1.21.0",
    "@iconify/json": "^2.2.175",
    "@nuxt/content": "^2.12.0",
    "@nuxt/devtools": "^1.0.8",
    "@nuxt/image": "^1.3.0",
    "@nuxt/kit": "^3.9.3",
    "@nuxtjs/color-mode": "^3.3.2",
    "@nuxtjs/i18n": "^8.1.0",
    "@pinia/nuxt": "^0.5.1",
    "@sxzz/eslint-config": "^3.7.6",
    "@unocss/nuxt": "^0.58.4",
    "@unocss/reset": "^0.58.4",
    "@vite-pwa/nuxt": "^0.3.6",
    "@vueuse/nuxt": "^10.7.2",
    "dayjs": "^1.11.10",
    "eslint": "^8.56.0",
    "happy-dom": "^12.10.3",
    "husky": "^8.0.3",
    "lint-staged": "^15.2.0",
    "nuxt": "^3.9.3",
    "nuxt-auth-utils": "^0.0.14",
    "nuxt-lodash": "^2.5.3",
    "nuxt-mongoose": "^1.0.4",
    "nuxt-typed-router": "^3.5.1",
    "pinia": "^2.1.7",
    "sass": "^1.71.0",
    "typescript": "^5.3.3",
    "unocss-preset-scrollbar": "^0.3.0",
    "vitest": "1.0.0-beta.0",
    "vue-tsc": "^1.8.27",
    "zod": "^3.22.4"
zyhnbyyds commented 4 months ago

it works, just log error

zyhnbyyds commented 4 months ago

update deps ,it fixed🤣. sorry