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

Can't bind to any of the component's inputs #59

Closed
TheDevelolper opened this issue Sep 27, 2019 · 4 comments
Closed

Can't bind to any of the component's inputs #59

TheDevelolper opened this issue Sep 27, 2019 · 4 comments

Comments

@TheDevelolper
Copy link

Not sure why I'm getting this? I followed the instructions and set the target to es5.

I'm using an Angular 8 App here's there error I get:

Can't bind to 'qrdata' since it isn't a known property of 'qrcode'. ("


<qrcode [ERROR ->][qrdata]="myAngularxQrCode" [size]="256" [level]="'M'"></qrcode>"): ng:///AppModule/GeneratorComponent.html@3:8
Can't bind to 'size' since it isn't a known property of 'qrcode'. ("


<qrcode [qrdata]="myAngularxQrCode" [ERROR ->][size]="256" [level]="'M'"></qrcode>"): ng:///AppModule/GeneratorComponent.html@3:36
Can't bind to 'level' since it isn't a known property of 'qrcode'. ("


<qrcode [qrdata]="myAngularxQrCode" [size]="256" [ERROR ->][level]="'M'"></qrcode>"): ng:///AppModule/GeneratorComponent.html@3:49
'qrcode' is not a known element:
1. If 'qrcode' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("


[ERROR ->]<qrcode [qrdata]="myAngularxQrCode" [size]="256" [level]="'M'"></qrcode>"): ng:///AppModule/GeneratorComponent.html@3:0
    at syntaxError (compiler.js:2409)
    at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse (compiler.js:11957)
    at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate (compiler.js:27072)
    at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate (compiler.js:27059)
    at compiler.js:27002
    at Set.forEach (<anonymous>)
    at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents (compiler.js:27002)
    at compiler.js:26912
    at Object.then (compiler.js:2400)
    at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndComponents (compiler.js:26911)
@TheDevelolper
Copy link
Author

Doh 🤦🏽‍♂️! I forgot that I'd re-started the project and forgot to import it in my app module. It was only when I pasted the error and took a second look I realised!

@IvRRimum
Copy link

I have this issue, but nothing helps..

@TheDevelolper
Copy link
Author

@IvRRimum can you give a little more detail?

"Nothing helps" - what have you tried?
Have you checked that you are importing the QR code component in the correct module?

Do you have a repo?

@IvRRimum
Copy link

@FacePalmDev Hey, made a new issue: #167

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