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

Cannot build #32

Closed
obeone opened this issue Feb 10, 2016 · 2 comments
Closed

Cannot build #32

obeone opened this issue Feb 10, 2016 · 2 comments

Comments

@obeone
Copy link

obeone commented Feb 10, 2016

I haven't build since 14 days, but today, I don't know why, nothing happens with a cordova build (android or ios) :

$ cordova build android
cordova-custom-config: Installing plugin dependencies...
cordova-custom-config: Skipping auto-restore of config file backup(s) due to config.xml preference
$

I have the problem on 3 different computers (each was able to build 14 days ago), and if I remove cordova-custom-config plugin, it works again. Maybe a problem with the new cordova-android or cordova-ios ?

@dpa99c
Copy link
Owner

dpa99c commented Feb 10, 2016

I've completely reworked the dependency resolution script in the last couple of releases, so that's the difference from 14 days ago. I was attempting to fix race conditions and thought I'd fixed it, however...

I will look into it and publish a new version if I can find and fix the bug.

Bear with me...

@dpa99c dpa99c closed this as completed in ae219a2 Feb 10, 2016
@dpa99c
Copy link
Owner

dpa99c commented Feb 10, 2016

Yep, found+fixed the bug. Only happened if <preference name="cordova-custom-config-autorestore" value="false" />, but the deferred promise was not being resolved, hence the build process never progressed past the hook. Should now be fixed in v1.2.4

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