Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10195

Ubuntu Cordova command failed with exit code 1 on cordova build ubuntu - 5.4.0

    XMLWordPrintableJSON

    Details

    • Flags:
      Patch

      Description

      Folowed the ubuntu/ cordova installations here. Everything works fine until I get to the command cordova build ubuntu. I always get this error:

      Building Desktop Application...
      Missing icon
      ERROR building one of the platforms: Error: /var/www/html/bye/platforms/ubuntu/cordova/build: Command failed with exit code 1
      You may not have the required environment or OS to build this project
      Error: /var/www/html/bye/platforms/ubuntu/cordova/build: Command failed with exit code 1
      at ChildProcess.whenDone (/usr/share/cordova-cli/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
      at ChildProcess.EventEmitter.emit (events.js:98:17)
      at maybeClose (child_process.js:743:16)
      at Process.ChildProcess._handle.onexit (child_process.js:810:5)"
      Please could someone tell me how to fix this or what I'm doing wrong to get the error?

      I've tried reinstalling, creating an icon tag in the config.xml to replace the default icon and I've tried installing different version of Cordova (currently on 5.4.0).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tumi Tumiso
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified