Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NativeScript tns doctor command not found

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?


2 Answers

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

like image 37
Saeb Panahifar Avatar answered Oct 30 '25 14:10

Saeb Panahifar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!