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

TypeError: Cannot read properties of null (reading 'scope') #33

Open
dnllromao opened this issue Jun 27, 2023 · 17 comments
Open

TypeError: Cannot read properties of null (reading 'scope') #33

dnllromao opened this issue Jun 27, 2023 · 17 comments

Comments

@dnllromao
Copy link

Hi!
I've just installed your package and I've tried the basic example <QRCodeVue3 value="Simple QR code"/>.
Unfortunately the error "TypeError: Cannot read properties of null (reading 'scope') at Ye (index.es.js:2271:12)" is thrown immediately.
Maybe you could help me understand what's the issue. I'm running a Quasar application with Typescript. Thanks for your help.

const Ye = (e) => {
  On(e), e.scope.on(); // the error comes from where, since e = null
}, St = () => {
  Z && Z.scope.off(), On(null);
};
@yys730
Copy link

yys730 commented Jun 29, 2023

same problem

@newalway
Copy link

newalway commented Jul 5, 2023

same problem.

@scholtz
Copy link
Owner

scholtz commented Jul 6, 2023

I cannot reproduce this error..

I have created demo quasar app:

Source: https://github.com/scholtz/qrcode-quasar
Runs at: https://scholtz.github.io/qrcode-quasar/

@ltz1990
Copy link

ltz1990 commented Jul 10, 2023

same problem.

@Charl12-gb
Copy link

Même problème

@xiaoai7904
Copy link

image

"vue": "^3.2.41",

same problem.

@strobotek
Copy link

Same problem here too

@harriskhalil
Copy link

anyone find the solution for this error?

@strobotek
Copy link

Didn't have time to try to make it work, so I simply switched to qrcode.vue
It works right out of the box, and I didn't need too many options and features anyway...

@YingchenWang999
Copy link

same problem.

@mahmoudabdulmuty
Copy link

same problem

1 similar comment
@nick-ma
Copy link

nick-ma commented Sep 13, 2023

same problem

@huangrx-cn
Copy link

same problem on [email protected]

@JimmyZDD
Copy link

JimmyZDD commented Nov 7, 2023

update vue:
"vue": "^3.3.2",
work for me

@roxi3906
Copy link

update vue: "vue": "^3.3.2", work for me

same issue, didnt work for me

@Homeeat
Copy link

Homeeat commented Dec 1, 2023

same issue

@jdavidrsantos
Copy link

I updated to vue": "^3.3.2" and it worked for me :)

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