run tns preview get some error
See original GitHub issuecreate an new vue project, then run tns preview
, scan the qr code,
get some error
but when i run tns run ios --bundle
, the app display success.
how can i solve the question.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Nativescript-Angular - tns preview -> SyntaxError: Unexpected ...
There's currently an issue with Nativescript playground. I analysed the endpoint, and can see that's it's not receiving the expected data, ...
Read more >tns preview - NativeScript Docs
The Preview app comes with a predefined set of NativeScript plugins. If your app utilizes a plugin that is not present in the...
Read more >"ORA-12154: TNS:could not resolve the connect identifier ...
ERROR : "ORA-12154: TNS:could not resolve the connect identifier specified" while running data preview on Oracle source in · May 12, 2022•Knowledge 000177839 ......
Read more >How to Develop Particle Iot Apps Using NativeScript
The mobile preview mode ( tns preview command) does not pay well with native libraries. If you have some native platform specific libraries, ......
Read more >TNS cannot find project : r/nativescript - Reddit
I then opened Visual Code and opened a New Terminal. ... I then ran tns preview and tns run android --bundle to get...
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
Hi @yoking-shi,
Thanks for reporting this limitation. You are getting this error because currently, only our webpack plugin can compile Vue projects. For this reason, we have a pull request in the
nativescript-vue
plugin for validating this option and avoiding such runtime exceptions.In other words, you should always use
--bundle
in your NativeScript Vue projects.@DimitarTachev ,This command will prompt the same error, So I asked questions again, I’ll try again when I get home