I am new to NativeScript and am currently going through the installation steps described here (http://docs.nativescript.org/angular/tutorial/ng-chapter-1) and I just completed executing the PowerShell script
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/NativeScript/nativescript-cli/production/setup/native-script.ps1'))"
and then I run
tns doctor
and I get
C:\>tns doctor 'tns' is not recognized as an internal or external command, operable program or batch file.
Use this code
npm install --global nativescript
I had the same isssue and installing nativescript
solved it.
If you are on Windows you need to add the the npm global directory to your path.
;%USERPROFILE%\AppData\Roaming\npm
Make sure you get the semicolon.
This should work on Windows 7. I can get you the steps for other versions of windows; but hopefully this gets you going.
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