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

bug when init cordova project: ENOENT, no such file or directory 'cordova/config.xml' #62

Closed
OpakAlex opened this issue Sep 23, 2014 · 4 comments

Comments

@OpakAlex
Copy link

what this mean?
i run this command in the ember-cli project:
ember generate cordova-init ru.plugbank

@jakecraige
Copy link
Contributor

It sounds like it may have failed to initialize the cordova project successfully. Can you provide the full output of that command?

@OpakAlex
Copy link
Author

Hello @jakecraige
yes: http://monosnap.com/image/JwL0sBJATgOW24FydtC8dY9E1IEV0p
This is all output for command ember generate cordova-init ru.plugbank

@jakecraige
Copy link
Contributor

Do you have Cordova installed globally? The first error in that log says
that it can't find Cordova itself.

As it looks like you're in Linux. You'll also need to pass in '--platform
android' to the init command or it'll fail when adding the iOS platform.

So first install Cordova globally with npm, then run init again with the
platform passed in as android
On Sep 24, 2014 3:30 AM, "Opak Alex" notifications@github.com wrote:

Hello @jakecraige https://github.com/jakecraige
yes: http://monosnap.com/image/JwL0sBJATgOW24FydtC8dY9E1IEV0p
This is all output for command ember generate cordova-init ru.plugbank


Reply to this email directly or view it on GitHub
#62 (comment)
.

@OpakAlex
Copy link
Author

Yes, you are right!
npm install -g cordova
fixed this issue.
I use XOS.

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

2 participants