Help For Installation


#1

I already install npm (step 1) and nativescript CLI (step 2) but get error on step 3.
When I enter @powershell -NoProfile -ExecutionPolicy Bypass -Command “iex ((new-object net.webclient).DownloadString(‘https://www.nativescript.org/setup/win’))” on window terminal.
error (red color) = "Start-Process : This command cannot be executed due to the error: Unknown error (0xffffffff).

What should I do?


#2

Hi,

Are you following this installation guide: http://docs.nativescript.org/start/ns-setup-win#advanced-setup-steps


#3

Thank for your answer,
I follow your link
I install chocolatey with no error (step 1)
when I type “choco install nodejs -y -version 6.9.1” my window said 'choco; is not recognized as an internal or external command, operable program or batch file.

Please help, I am newbie for mobile programming


#4

After I repeat (step 1) + restart win command,
when I type “choco install nodejs -y -version 6.9.1” window show error "This is try 1/3. Retrying after 300 milliseconds. Error converted to warning:Access to the path ‘C:\ProgramData\chocolatey\config’ is denied.
This is try 2/3. Retrying after 400 milliseconds. Error converted to warning:Access to the path ‘C:\ProgramData\chocolatey\config’ is denied.
Maximum tries of 3 reached. Throwing error.
Cannot create directory “C:\ProgramData\chocolatey\config”.
… (long string)

Please help.


#5

Are you opening your cmd with admin permissions?