harlan-zw / nuxt-seo

The complete SEO solution for Nuxt.
https://nuxtseo.com
MIT License
1.05k stars 67 forks source link

Error loading the module: `Nuxt module should be a function: @nuxtseo/module` #154

Closed tobiasdiez closed 9 months ago

tobiasdiez commented 9 months ago

Describe the bug

Following the documentation, just install and add to nuxt.config. Running then yields:

Nuxt module should be a function: @nuxtseo/module

Reproduction

https://github.com/JabRef/JabRefOnline/pull/2259

System / Nuxt Info

- Operating System: Windows_NT
- Node Version:     v21.2.0
- Nuxt Version:     3.9.0
- CLI Version:      3.10.0
- Nitro Version:    2.8.1
- Package Manager:  yarn@3.6.3
- Builder:          -
- User Config:      alias, nitro, experimental, vue, hooks, app, modules, runtimeConfig, routeRules, tailwindcss, graphqlServer, content, site, robots, vite
- Runtime Modules:  @nuxtjs/tailwindcss@6.10.3, @bg-dev/nuxt-naiveui@1.8.0, @pinia/nuxt@0.5.1, nuxt-graphql-server@3.0.0, @nuxt/content@2.10.0, storybook-vue-addon/nuxt, @nuxt/devtools@1.0.6, nuxt-icon@0.6.8, @vee-validate/nuxt@4.12.4, @nuxt/test-utils/module@3.9.0, @nuxtjs/seo@2.0.0-rc.1
- Build Modules:    -
harlan-zw commented 9 months ago

Hi, please use @nuxtjs/seo@2.0.0-rc.2. There was a bug in this version being deployed correctly.

tobiasdiez commented 9 months ago

Thanks for the quick fix. I can confirm it is working now.