After NativeScript install like that: https://docs.nativescript.org/start/ns-setup-os-x
When I ran the tns doctor command, only to find that command not found.
How can I resolve this issue?
You can following the instructions here. Please be sure,
install Node.js here
execute npm install -g nativescript
If you have installed both Node.js and nativescript, and you are still unable to execute tns doctor, you might check if the installation path is part of your PATH environment variable.
Find where NativeScript installed to on your computer Point your various bash profiles there. For your reference, I used this:
PATH=$PATH:/usr/local/bin/lib/node_modules/nativescript/bin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With