nuxt-community / recaptcha-module

🤖 Simple and easy Google reCAPTCHA integration with Nuxt.js
MIT License
253 stars 64 forks source link

ERROR Cannot restart nuxt: Cannot read properties of undefined (reading 'options') #128

Open matay107 opened 7 months ago

matay107 commented 7 months ago

Nuxt v3.9 when use modules: ["@nuxtjs/recaptcha"]

Error Cannot restart nuxt: Cannot read properties of undefined (reading 'options')

matay107 commented 7 months ago

Screenshot_7

benhk2005 commented 6 months ago

same here

Pedrosam commented 6 months ago

same error, any solution?

HristoAntov commented 6 months ago

same error

ValentinVmr commented 6 months ago

Same issue here

Edit : Duplicate of https://github.com/nuxt-community/recaptcha-module/issues/123

shroomlife commented 4 months ago

same here

Jitsosoftware commented 3 months ago

same here

goerris commented 3 months ago

Try adding it to the transpile in nuxt.config.ts

transpile: [
    '@nuxtjs/recaptcha'
  ],
MarvinSequera commented 2 months ago

Same and transpile did nothing for me

leotrinh commented 2 months ago

i got same issue does anyone can have anyway to work around? it's crazy :(

dencs08 commented 2 months ago

same here - after adding @nuxtjs/recaptcha to the modules it throws the ERROR Cannot restart nuxt: Cannot read properties of undefined (reading 'options') in the console.

Mo-Alkhawlani commented 2 months ago

Has anyone solved this problem?

Thereisnotruth commented 1 month ago

in module.js, this.addPlugin() and this.addTemplate() are nuxt 2's moduleContainer methods, so this library cannot be used with nuxt 3, i guess.