vue-recaptcha icon indicating copy to clipboard operation
vue-recaptcha copied to clipboard

`createElement()` has been called outside of render function.

Open Sherzod06 opened this issue 3 years ago • 2 comments

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

Sherzod06 avatar Mar 13 '23 10:03 Sherzod06

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?

DanSnow avatar Mar 13 '23 14:03 DanSnow

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

Sherzod06 avatar Mar 14 '23 06:03 Sherzod06