关于启动和运行移动混合应用程序的离子课程我偶然发现:
$ ionic build ios
Run Code Online (Sandbox Code Playgroud)
以下错误是:
$ ionic build ios
Running command: "c:\Program Files (x86)\nodejs\node.exe##c:\wamp\www\weather\hooks\after_prepare\010_add_platform_ class.js c:/wamp/www/weather
add to body class: platform-ios
Running command: cmd "/s/c"c:\wamp\www\weather\platforms\ios\cordova\build""
'c:\wamp\www\weather\platforms\ios\cordova\build' is not recognized as an internal or external command,
operable program or batch file.
ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 1
at ChildProcess.whenDone (c:\Users\Acer\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:139:23)
at …
Run Code Online (Sandbox Code Playgroud)