Skip to content

[Android] Error CLI from Bcryptjs #4513

Closed
@kefahB

Description

@kefahB

Hi,

The CLI return error for duplicated ressources :

Bcryptjs comme with tow file in dist directory :

  • bcrypt.min.js.gz
  • bcrypt.min.js

If we remove the bcrypt.min.js.gz the is no problem .. but if we add new module the dependency's will be updated and the issu comeback !

"tns-android": {
      "version": "5.3.1"
    },
    "tns-ios": {
      "version": "5.3.1"
    }
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDebugAssets'.
> [app/tns_modules/bcryptjs/dist/bcrypt.min.js] project_name/platforms/android/app/src/main/assets/app/tns_modules/bcryptjs/dist/bcrypt.min.js.gz        
[app/tns_modules/bcryptjs/dist/bcrypt.min.js] project_name/platforms/android/app/src/main/assets/app/tns_modules/bcryptjs/dist/bcrypt.min.js: Error: Duplicate resources

thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions