Closed
Description
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.