Ionic 3 compile Windows 10

#1

Hello

I need compile proyect Ionic 3 to windows 10 desktop but shows the following error and I do not understand what happens. Please someone help me.

Thank you.

cordova build windows
Building project: C:\Ionic_Proyectos\recibowin10\platforms\windows\CordovaApp.Windows10.jsproj

    Configuration : debug
    Platform      : anycpu

The system can not find the path specified.
(node:15392) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: cmd: Command failed with exit code 1
(node:15392) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

ionic info

cli packages: (C:\Ionic_Proyectos\recibowin10\node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:
cordova (Cordova CLI) : 8.0.0

local packages:
@ionic/app-scripts : 2.1.3
Cordova Platforms : windows 5.0.0
Ionic Framework : ionic-angular 3.6.0

System:
Android SDK Tools : 26.1.1
Node : v8.5.0
npm : 5.3.0
OS : Windows 10

Environment Variables:
ANDROID_HOME : C:\Softwares\AndroidSDK

Misc:
backend : pro

cordova requirements
Requirements check results for windows:

Windows OS: installed Windows 10
MSBuild Tools: installed 14.0
Visual Studio: installed 14.0
Windows SDK: installed 10.0
Windows Phone SDK: installed 10.0

cordova platform ls
Installed platforms:
windows 5.0.0
Available platforms:
android ~7.0.0
browser ~5.0.1
ios ~4.5.4
osx ~4.0.1
www ^3.12.0

#2

Hello,

maybe your variables not set. Look here How do I setup the environment to work with Ionic and Cordova?

Best regards, anna-liebt