angular2-qrscanner
angular2-qrscanner copied to clipboard
AppComponent.html:1 ERROR DOMException: Failed to execute 'setAttribute' on 'Element': '(default:' is not a valid attribute name.
When I installed the
'@angular-devkit/[email protected]'
library, I saw this message.
The AppComponent.html is the same file of the project, unmodified.
Brs.
@abelardolg Can you put your code in Plunkar
Hi @Sachin124 @abelardolg the issue is caused by the comments like canvas width (default: 640) or canvas height (default: 480) taken from the example
I removed them and it worked.