Cannot run "tns run android" or "tns run ios"

ios
android

#1

I tried to run the “tns run android” or “tns run ios” and both returned:
No project found at or above ‘/Users/xx/nativescript-vue-example’ and neither was a --path specified.

I have both android and ios emulators available. It’s the same when they are started or not.


#2

You should not use tns run android for Vue projects, it has to be complied from Vue template to a NativeScript project first. Use npm run watch:android