I'm trying to compile an angular app on the cord. I pasted the application into the www folder of the cordova project and tried to compile, but I had the following error:
Execution failed for task ':app:mergeReleaseAssets'.
C: \ Users \ pedro.morais \ mnjic \ platforms \ android \ app \ src \ main \ assets \ www \ node_modules \ log4js \ node_modules [www / node_modules / log4js / node_modules / semver / semver.browser.js] \ www \ node_modules / log4js / node_modules / semver / semver / semver.browser.js] node_modules \ log4js \ node_modules \ semver \ semver.browser.js.gz: Error: Duplicate resources [www / node_modules / log4js / node_modules / semver / semver.min.js] C: \ Users \ pedro.morais \ mnjic \ platforms \ android \ app \ src \ main \ semver.min.js [www / node_modules / log4js / node_modules / semver / semver.min.js] C: \ Users \ pedro.morais \ mnjic \ platforms \ android \ app \ src \ main \ assets \ www \ node_modules \ log4js \ node_modules \ semver \ semver.min.js.gz: Error: Duplicate resources [www / node_modules / long / dist / long.min.js] C: \ Users \ pedro.morais \ mnjic \ platforms \ android \ app \ src \ main \ assets \ www \ node_modules \ long \ dist \ long.min. js [www / node_modules / long / dist / long.min.js] C: \ Users \ pedro.morais \ mnjic \ platforms \ android \ app \ src \ main \ assets \ www \ node_modules \ long \ dist \ long.min .js.gz: Error: Duplicate resources