Skip to content

Instantly share code, notes, and snippets.

@shazron
Created December 17, 2015 20:02
Show Gist options
  • Save shazron/b8449933e532d4185084 to your computer and use it in GitHub Desktop.
Save shazron/b8449933e532d4185084 to your computer and use it in GitHub Desktop.
$ cordova platform add https://git-wip-us.apache.org/repos/asf/cordova-ubuntu.git#4.3.2 --verbose
Executing "before_platform_add" hook for all plugins.
git cloning: https://git-wip-us.apache.org/repos/asf/cordova-ubuntu.git#4.3.2
Running command: git clone https://git-wip-us.apache.org/repos/asf/cordova-ubuntu.git /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_3101_1450382458889
Command finished with error code 0: git clone,https://git-wip-us.apache.org/repos/asf/cordova-ubuntu.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_3101_1450382458889
Running command: git checkout 4.3.2
Command finished with error code 0: git checkout,4.3.2
Repository "https://git-wip-us.apache.org/repos/asf/cordova-ubuntu.git" checked out to git ref "4.3.2".
Adding ubuntu project...
Failed to require PlatformApi instance for platform "ubuntu". Using polyfill instead.
Running command: /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_3101_1450382458889/bin/create /Users/shazron/Desktop/f/platforms/ubuntu f f
module.js:338
throw err;
^
Error: Cannot find module 'shelljs'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_3101_1450382458889/bin/lib/create.js:22:13)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
Command finished with error code 1: /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_3101_1450382458889/bin/create /Users/shazron/Desktop/f/platforms/ubuntu,f,f
Error: /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_3101_1450382458889/bin/create: Command failed with exit code 1
at ChildProcess.whenDone (/Users/shazron/Documents/git/apache/cordova-lib/cordova-common/src/superspawn.js:139:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment