-
Notifications
You must be signed in to change notification settings - Fork 31
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
after update to 1.2.2 ionic cordova build fails #51
Comments
@AirBorne04 Can you provide more information? Not able to reproduce this, so steps to reproduce and |
@dwieeb sure, here is the exact output error of the build, after the angular build finishes without an error.
and the output of ionic info
what i have recognized is that in version 1.2.0 the very first output of the build command is that it created a www folder which after some investigation is suppose could be the reason for the error message i posted. Also i am not sure why the cordova platform info states |
I have some ideas of what's going on: the www folder is created at the beginning of the 'ionic cordova build' or 'ionic cordova run' without --livereload then it's deleted deleting before build modules and after running builder.run
the error will occur after the build when calling the command
because the www folder has been deleted. |
that sounds like the source, is there any fix in sight? |
The @GuilhermeBCC If you can see what's wrong, would you mind committing a fix? I just wrote up some quick contributing docs: https://github.com/ionic-team/angular-toolkit/blob/master/CONTRIBUTING.md |
Sorry I do not know the solution. Did you say that the angle after deletion creates the folder again? The problem is that Angular no longer creates the folder for some reason. |
If it doesn't create the folder, where are the files put that it builds? Each build should have an output directory. |
Pretty sure the above commit fixes this ^^^ If not, let me know. |
🎉 This issue has been resolved in version 1.2.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
after the update the command
ionic cordova build ios
fails with the warning that the directory is not a cordova path apparently due to the missing
www
folderreverting to 1.2.0 fixed this behaviour
The text was updated successfully, but these errors were encountered: