Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/bin/sh: cordova: command not found #47

Closed
devinrhode2 opened this issue Jun 10, 2016 · 2 comments
Closed

/bin/sh: cordova: command not found #47

devinrhode2 opened this issue Jun 10, 2016 · 2 comments

Comments

@devinrhode2
Copy link

On a fresh ember app, just after doing ember new my-app I install ember-cordova and am getting this error:

➤ ember install ember-cordova                          git:master
Installed packages for tooling via npm.
installing ember-cordova
  create /ember-cordova/.npmignore
/bin/sh: cordova: command not found
File: /bin/sh
Command failed: cordova create cordova sympstruments sympstruments
Error: Command failed: cordova create cordova sympstruments sympstruments
    at checkExecSyncError (child_process.js:464:13)
    at execSync (child_process.js:504:13)
    at /Users/devinrhode2/repos/sympstruments/node_modules/ember-cordova/lib/tasks/bash.js:23:7
    at lib$rsvp$$internal$$initializePromise (/Users/devinrhode2/repos/sympstruments/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1084:9)
    at PromiseExt.lib$rsvp$promise$$Promise (/Users/devinrhode2/repos/sympstruments/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:546:53)
    at new PromiseExt (/Users/devinrhode2/repos/sympstruments/node_modules/ember-cli/lib/ext/promise.js:32:8)
    at Class.module.exports.Task.extend.run (/Users/devinrhode2/repos/sympstruments/node_modules/ember-cordova/lib/tasks/bash.js:17:12)
    at Class.module.exports.Task.extend.run (/Users/devinrhode2/repos/sympstruments/node_modules/ember-cordova/lib/tasks/create-cordova-project.js:30:21)
    at Class.module.exports.afterInstall (/Users/devinrhode2/repos/sympstruments/node_modules/ember-cordova/blueprints/ember-cordova/index.js:42:19)
    at lib$rsvp$$internal$$tryCatch (/Users/devinrhode2/repos/sympstruments/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1036:16)
sympstruments ➤
@devinrhode2
Copy link
Author

devinrhode2 commented Jun 10, 2016

hold the phone.. digging in some more https://www.google.com/search?q=cordova%3A+command+not+found&oq=cordova%3A+command+not+found&aqs=chrome..69i57j69i58.515j0j1&sourceid=chrome&ie=UTF-8

This may be deleted in 24hr if I don't update any further

@devinrhode2
Copy link
Author

just had to npm install -g cordova

@devinrhode2 devinrhode2 changed the title Error on 100% clean install /bin/sh: cordova: command not found Jun 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant