Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matay107 opened this issue Feb 5, 2024 · 13 comments

Comments

@matay107
Copy link

matay107 commented Feb 5, 2024

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

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

@matay107
Copy link
Author

matay107 commented Feb 5, 2024

Screenshot_7

@benhk2005
Copy link

same here

@Pedrosam
Copy link

same error, any solution?

@HristoAntov
Copy link

same error

@ValentinVmr
Copy link

ValentinVmr commented Mar 4, 2024

Same issue here

Edit : Duplicate of #123

@shroomlife
Copy link

same here

1 similar comment
@Jitsosoftware
Copy link

same here

@goerris
Copy link

goerris commented Jun 11, 2024

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

transpile: [
    '@nuxtjs/recaptcha'
  ],

@MarvinSequera
Copy link

Same and transpile did nothing for me

@leotrinh
Copy link

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

@dencs08
Copy link

dencs08 commented Jul 2, 2024

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.

  • nuxt 3.12.2
  • recaptcha 1.1.2

@Mo-Alkhawlani
Copy link

Has anyone solved this problem?

@Thereisnotruth
Copy link

Thereisnotruth commented Jul 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests