Skip to content

dependencies of devDependencies are not treated as devDependencies #601

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

Closed
tjvantoll opened this issue Jun 29, 2015 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@tjvantoll
Copy link
Contributor

In the Groceries app @jlooper and I are working on we get the following error when running on Android (tns run android):

-package-resources:
     [aapt] Creating full resource package...
     [aapt]       Unable to add '/Users/tj/Dev/nativescript/groceries/platforms/android/assets/app/tns_modules/semver/semver.browser.js.gz': file already in archive (try '-u'?)
     [aapt] ERROR: unable to process assets while packaging '/Users/tj/Dev/nativescript/groceries/platforms/android/bin/groceries.ap_'
     [aapt] ERROR: packaging of '/Users/tj/Dev/nativescript/groceries/platforms/android/bin/groceries.ap_' failed

BUILD FAILED
/Users/tj/Dev/sdk/tools/ant/build.xml:928: The following error occurred while executing this line:
/Users/tj/Dev/sdk/tools/ant/build.xml:946: null returned: 1

Total time: 7 seconds
Command ant failed with exit code 1

According to @ligaz the issue here is we a devDependency on "gulp" which then has a dependency on "semver", and "semver" is not being treated as a devDependency.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants