trouble implementing in nativescript-angular
See original GitHub issueSeeing some errors when following the getting starting guide:
JS: ERROR Error: Uncaught (in promise): Error: Template parse errors:
JS: Only void and foreign elements can be self closed "BarcodeScanner" ("
JS: -->
JS: <GridLayout class="page page-content" tkMainContent>
JS: [ERROR ->]<BarcodeScanner
JS: class="scanner-round"
JS: formats="QR_CODE, EAN_13"
JS: "): ng:///data/data/org.nativescript.KipoTrac/files/app/home/home.component.html@31:8
When i remove the self-closing tag i get a different error:
JS: ERROR Error: Uncaught (in promise): TypeError: viewClass is not a constructor
JS: TypeError: viewClass is not a constructor
I’m a bit lost.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Issues · NativeScript/nativescript-angular - GitHub
Contribute to NativeScript/nativescript-angular development by creating an account ... Error when using grouping and deleting an item in an ObservableArray.
Read more >Angular Tutorial - NativeScript Docs
This tutorial introduces you to the fundamentals of building a NativeScript app with Angular by walking you through building an example app with...
Read more >Native script angular android app error with nativescript-webrtc
1 Answer 1 · Clone the nativescript-webrtc repository · Merge the PR with master branch in your local system (see this link to...
Read more >NativeScript vs. React Native - LogRocket Blog
NativeScript's vision is to “Liberate your development by using platform APIs directly without leaving your [love] of JavaScript.” Think of ...
Read more >Build A Simple Mobile App With NativeScript And Angular
I've been building NativeScript applications for a while now using vanilla JavaScript and TypeScript. Even though NativeScript has been ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve stumbled upon this issue too. I think you should clearly indicate that the embedded view is for iOS only. BTW the demo-ng does not work for Android, so perhaps you should adapt it to support it. This way it’ll be even more clear how to manage both platforms.
@gdurand I should do this and I should do that. You should do a PR if you’re not happy with my work.