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

createElement() has been called outside of render function. #1020

Open
Sherzod06 opened this issue Mar 13, 2023 · 2 comments
Open

createElement() has been called outside of render function. #1020

Sherzod06 opened this issue Mar 13, 2023 · 2 comments

Comments

@Sherzod06
Copy link

Sherzod06 commented Mar 13, 2023

I am having this error on using vue-recaptcha 2.0.3 on my nuxt 2 project
image
I tried to create reproduction on stackblitz. But there somehow different error message
image
here is the reproduction link on stackblitz: https://stackblitz.com/edit/nuxt-starter-ksgjpq?file=package.json,pages%2Findex.vue

@DanSnow
Copy link
Owner

DanSnow commented Mar 13, 2023

I guess that is because you load 2 different versions of @vue/composition-api. Could you try setting up an alias to force Nuxt only pick one version?

@Sherzod06
Copy link
Author

Actually, first i installed vue-recaptcha using command yarn add vue-recaptcha. Yarn installed 2 packages: vue-recaptcha and vue-demi. Then copied code from the example on master branch readme. Then I run project and caught the error below:
image
So, I just installed @vue/composition-api using command yarn add @vue/composition-api and run again. Then I caught this error:
image

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

2 participants