Skip to content

bug: Command failed with exit code 2 You may not have the required environment or OS to build this project #282

@adamdbradley

Description

@adamdbradley

From @shivanshuit914 on March 3, 2015 19:15

Type: bug

Platform: desktop browser

> ionic build ios

ERROR building one of the platforms: Error: /Applications/MAMP/htdocs/myApp/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: /Applications/MAMP/htdocs/myApp/platforms/ios/cordova/build: Command failed with exit code 2
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)

OS Mac Maverich, have followed this tutorial http://ionicframework.com/docs/guide/installation.html

Copied from original issue: ionic-team/ionic-framework#3225

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions