-
-
Notifications
You must be signed in to change notification settings - Fork 197
semver copied to platforms/android even though it's a dev dependency #1802
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
Comments
|
We are trying to support it. Anyway, I've seen the semver.js.gz error in cases that don't use npm links too.
It shouldn't be a problem to do that, but it won't solve the original problem for cases where we end up with multiple files with the same names that break Android's AAPT tool. For the time being this happens with a gz file, but there's no guarantee it won't happen with a file having a different extension. |
The issue is with all "zip" file formats as Additionally, the problem is somewhat obscure as As an immediate solution I would propose |
I got the same problem and can't move forward without get around this problem. Is this fixed? If not, is there any workaround at this point (even manual step) for me to keep working on the project rather totally dead here. |
@ryc16 Yes, first delete your
You should now be able to |
Should be resolved with: 0bc09ec |
closed in favor of: #1740 |
This one happens semi-randomly in Angular projects. It seems we sometimes end up with multiple copies of semver.js.gz inside the android platform directory, which causes an error with the android AAPT tool (error below).
I verified that I don't get a semver package in node_modules by running a
npm install --production
, which means semver is a dev dependency. It seems it should never ever get copied to platforms/android.Steps to reproduce:
The text was updated successfully, but these errors were encountered: