Getting an error at async remove(item) after upgrading to Angular 9 - npm

I am getting an error while npm install don't know how to fix this. Please help.
node --version
v10.16.3
[ERROR] C:\Development\Angular9Upgrade\chp\frontend\src\main\frontend\node_modules\chokidar\index.js:151
[ERROR] async remove(item) {
[ERROR] ^^^^^^
[ERROR] SyntaxError: Unexpected identifier
[ERROR] at Object.exports.runInThisContext (vm.js:76:16)
[ERROR] at Module._compile (module.js:542:28)
[ERROR] at Object.Module._extensions..js (module.js:579:10)
[ERROR] at Module.load (module.js:487:32)
[ERROR] at tryModuleLoad (module.js:446:12)
[ERROR] at Function.Module._load (module.js:438:3)
[ERROR] at Module.require (module.js:497:17)
[ERROR] at require (internal/module.js:20:19)

Related

How do I fix an error thrown during NPM Install?

During directus-main install I get this error.
https://github.com/bereikme/directus
\[2022-03-31 07:07:51\] Require stack:
\[2022-03-31 07:07:51\] - /workspace/api/cli.js
\[2022-03-31 07:07:51\] at Function.Module.\_resolveFilename (node:internal/modules/cjs/loader:933:15)
\[2022-03-31 07:07:51\] at Function.Module.\_load (node:internal/modules/cjs/loader:778:27)
\[2022-03-31 07:07:51\] at Module.require (node:internal/modules/cjs/loader:1005:19)
\[2022-03-31 07:07:51\] at require (node:internal/modules/cjs/helpers:102:18)
\[2022-03-31 07:07:51\] at Object.\<anonymous\> (/workspace/api/cli.js:2:1)
\[2022-03-31 07:07:51\] at Module.\_compile (node:internal/modules/cjs/loader:1101:14)
\[2022-03-31 07:07:51\] at Object.Module.\_extensions..js (node:internal/modules/cjs/loader:1153:10)
\[2022-03-31 07:07:51\] at Module.load (node:internal/modules/cjs/loader:981:32)
\[2022-03-31 07:07:51\] at Function.Module.\_load (node:internal/modules/cjs/loader:822:12)
\[2022-03-31 07:07:51\] at Function.executeUserEntryPoint \[as runMain\] (node:internal/modules/run_main:81:12) {
\[2022-03-31 07:07:51\] code: 'MODULE_NOT_FOUND',
\[2022-03-31 07:07:51\] requireStack: \[ '/workspace/api/cli.js' \]
I'm getting the error above while trying to run the Directus App on DigitalOcean.
This is the package-lock.json I'm using.
https://raw.githubusercontent.com/bereikme/directus/main/package-lock.json
It's identical to the one in the Directus repository, so it's a default one.
If you check the documentation on Directus, it does show a different setup though. https://docs.directus.io/getting-started/installation/digitalocean-app-platform/
https://raw.githubusercontent.com/bereikme/directus/main/package-lock.json
Is there any way to fix this issue?
I tried change npm version, force to copy file to the position, but not worked.
Please help me fix this issue.

Onlyoffice Nextcloud connector cant get files: HTTP 403 Access denied

Environment:
we run Onlyoffice with Docker, my docker-compose.yml file is:
version: "2.0"
services:
Onlyoffice5.2.3.64:
image: 'onlyoffice/documentserver:5.2.3.64'
restart: always
volumes:
- '/etc/selfmade/docker/onlyoffice/5.2.3.64_default.json:/etc/onlyoffice/documentserver/default.json'
ports:
- '80:80'
Any requests are forwarded by our nginx proxy, the proxy delivers https.
The Nextcloud runs on a stand-alone system with an apache2 web server, there are no special deny rules configured. Only .htaccess files are included, they are not modified.
Nextcloud version: 14.0.3
App version: 2.0.4 (installed by Store in Nextcloud)
Action:
Pressing save
Problem:
Onlyoffice5.2.3.64_1 | ==> /var/log/onlyoffice/documentserver/converter/out.log <==
Onlyoffice5.2.3.64_1 | [2018-11-14 10:49:46.970] [ERROR] nodeJS - error downloadFile:url=https://onlyoffice.domain.tld/index.php/apps/onlyoffice/empty?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJlbXB0eSJ9.V1-30DUaR5kUHFN3zxuU-oHGmtO9DQE0BtTYAcxVVco;attempt=1;code:undefined;connect:undefined;(id=conv_check_1738130868_docx)
Onlyoffice5.2.3.64_1 | Error: Error response: statusCode:403 ;body:
Onlyoffice5.2.3.64_1 | {"message":"Access denied"}
Onlyoffice5.2.3.64_1 | at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:250:18)
Onlyoffice5.2.3.64_1 | at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:185:22)
Onlyoffice5.2.3.64_1 | at emitTwo (events.js:126:13)
Onlyoffice5.2.3.64_1 | at Request.emit (events.js:214:7)
Onlyoffice5.2.3.64_1 | at Request.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1161:10)
Onlyoffice5.2.3.64_1 | at emitOne (events.js:116:13)
Onlyoffice5.2.3.64_1 | at Request.emit (events.js:211:7)
Onlyoffice5.2.3.64_1 | at IncomingMessage.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1083:12)
Onlyoffice5.2.3.64_1 | at Object.onceWrapper (events.js:313:30)
Onlyoffice5.2.3.64_1 | at emitNone (events.js:111:20)
Onlyoffice5.2.3.64_1 | [2018-11-14 10:49:48.021] [ERROR] nodeJS - error downloadFile:url=https://onlyoffice.domain.tld/index.php/apps/onlyoffice/empty?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJlbXB0eSJ9.V1-30DUaR5kUHFN3zxuU-oHGmtO9DQE0BtTYAcxVVco;attempt=2;code:undefined;connect:undefined;(id=conv_check_1738130868_docx)
Onlyoffice5.2.3.64_1 | Error: Error response: statusCode:403 ;body:
Onlyoffice5.2.3.64_1 | {"message":"Access denied"}
Onlyoffice5.2.3.64_1 | at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:250:18)
Onlyoffice5.2.3.64_1 | at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:185:22)
Onlyoffice5.2.3.64_1 | at emitTwo (events.js:126:13)
Onlyoffice5.2.3.64_1 | at Request.emit (events.js:214:7)
Onlyoffice5.2.3.64_1 | at Request.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1161:10)
Onlyoffice5.2.3.64_1 | at emitOne (events.js:116:13)
Onlyoffice5.2.3.64_1 | at Request.emit (events.js:211:7)
Onlyoffice5.2.3.64_1 | at IncomingMessage.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1083:12)
Onlyoffice5.2.3.64_1 | at Object.onceWrapper (events.js:313:30)
Onlyoffice5.2.3.64_1 | at emitNone (events.js:111:20)
Onlyoffice5.2.3.64_1 | [2018-11-14 10:49:49.077] [ERROR] nodeJS - error downloadFile:url=https://onlyoffice.domain.tld/index.php/apps/onlyoffice/empty?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJlbXB0eSJ9.V1-30DUaR5kUHFN3zxuU-oHGmtO9DQE0BtTYAcxVVco;attempt=3;code:undefined;connect:undefined;(id=conv_check_1738130868_docx)
Onlyoffice5.2.3.64_1 | Error: Error response: statusCode:403 ;body:
Onlyoffice5.2.3.64_1 | {"message":"Access denied"}
Onlyoffice5.2.3.64_1 | at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:250:18)
Onlyoffice5.2.3.64_1 | at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:185:22)
Onlyoffice5.2.3.64_1 | at emitTwo (events.js:126:13)
Onlyoffice5.2.3.64_1 | at Request.emit (events.js:214:7)
Onlyoffice5.2.3.64_1 | at Request.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1161:10)
Onlyoffice5.2.3.64_1 | at emitOne (events.js:116:13)
Onlyoffice5.2.3.64_1 | at Request.emit (events.js:211:7)
Onlyoffice5.2.3.64_1 | at IncomingMessage.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1083:12)
Onlyoffice5.2.3.64_1 | at Object.onceWrapper (events.js:313:30)
Onlyoffice5.2.3.64_1 | at emitNone (events.js:111:20)
And an ngrep tell me:
T <ip onlyoffice>:80 -> <load balancer>:52070 [AP]
HTTP/1.1 200 OK..Server: nginx..Date: Wed, 14 Nov 2018 10:49:50 GMT..Content-Type: text/xml; charset=UTF-8..Content-Length: 80..Connection: close..Vary: Accept-Encoding..X-Powered-By: Express..ETag: W/"50-z
nhOfxspmYa/tCyRfpwopdInS1U"....<?xml version="1.0" encoding="utf-8"?><FileResult><Error>-4</Error></FileResult>
'/etc/selfmade/docker/onlyoffice/5.2.3.64_default.json:/etc/onlyoffice/documentserver/default.json'
Please also map /etc/onlyoffice/documentserver/local.json
It should contain your secret key, as the value from local.json will overwrite the value from default.json

Why is opendaylight not compiling

I want to use opendaylight but I have problem compiling it. I am trying to solve this problem but I do not know what should I do.
Why is opendaylight not compiling:
[ERROR] Failed to execute goal org.codehaus.enunciate:maven-enunciate-plugin:1.26.2:docs (default) on project networkconfig.neutron.northbound: Execution default of goal org.codehaus.enunciate:maven-enunciate-plugin:1.26.2:docs failed: A required class was missing while executing org.codehaus.enunciate:maven-enunciate-plugin:1.26.2:docs: com/sun/mirror/apt/AnnotationProcessorFactory
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.codehaus.enunciate:maven-enunciate-plugin:1.26.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/root/.m2/repository/org/codehaus/enunciate/maven-enunciate-plugin/1.26.2/maven-enunciate-plugin-1.26.2.jar
[ERROR] urls[1] = file:/home/mahdi/Downloads/opendaylights/opendaylight/commons/logback_settings/target/commons.logback_settings-0.0.1-SNAPSHOT.jar
[ERROR] urls[2] = file:/root/.m2/repository/org/codehaus/enunciate/maven-enunciate-slim-plugin/1.26.2/maven-enunciate-slim-plugin-1.26.2.jar
[ERROR] urls[3] = file:/root/.m2/repository/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.jar
[ERROR] urls[4] = file:/root/.m2/repository/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar
[ERROR] urls[5] = file:/root/.m2/repository/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.jar
[ERROR] urls[6] = file:/root/.m2/repository/org/apache/maven/enforcer/enforcer-api/1.0/enforcer-api-1.0.jar
[ERROR] urls[7] = file:/root/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[8] = file:/root/.m2/repository/org/apache/maven/shared/maven-filtering/1.0/maven-filtering-1.0.jar
[ERROR] urls[9] = file:/root/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar
[ERROR] urls[10] = file:/root/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar
[ERROR] urls[11] = file:/root/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
[ERROR] urls[12] = file:/root/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
[ERROR] urls[13] = file:/root/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.12/plexus-interpolation-1.12.jar
[ERROR] urls[14] = file:/root/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar
[ERROR] urls[15] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar
[ERROR] urls[16] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-core/1.26.2/enunciate-core-1.26.2.jar
[ERROR] urls[17] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-core-rt/1.26.2/enunciate-core-rt-1.26.2.jar
[ERROR] urls[18] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-core-annotations/1.26.2/enunciate-core-annotations-1.26.2.jar
[ERROR] urls[19] = file:/root/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
[ERROR] urls[20] = file:/root/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar
[ERROR] urls[21] = file:/root/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar
[ERROR] urls[22] = file:/root/.m2/repository/net/sf/apt-jelly/apt-jelly-freemarker/2.15/apt-jelly-freemarker-2.15.jar
[ERROR] urls[23] = file:/root/.m2/repository/net/sf/apt-jelly/apt-jelly-core/2.15/apt-jelly-core-2.15.jar
[ERROR] urls[24] = file:/root/.m2/repository/org/freemarker/freemarker/2.3.14/freemarker-2.3.14.jar
[ERROR] urls[25] = file:/root/.m2/repository/commons-digester/commons-digester/2.1/commons-digester-2.1.jar
[ERROR] urls[26] = file:/root/.m2/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar
[ERROR] urls[27] = file:/root/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
[ERROR] urls[28] = file:/usr/lib/jvm/java-8-oracle/jre/../lib/tools.jar
[ERROR] urls[29] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-top/1.26.2/enunciate-top-1.26.2.jar
[ERROR] urls[30] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-jaxws-support/1.26.2/enunciate-jaxws-support-1.26.2.jar
[ERROR] urls[31] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-jaxws-ri/1.26.2/enunciate-jaxws-ri-1.26.2.jar
[ERROR] urls[32] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-docs/1.26.2/enunciate-docs-1.26.2.jar
[ERROR] urls[33] = file:/root/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.3/jackson-mapper-asl-1.9.3.jar
[ERROR] urls[34] = file:/root/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.3/jackson-core-asl-1.9.3.jar
[ERROR] urls[35] = file:/root/.m2/repository/org/jdom/jdom/1.1.2/jdom-1.1.2.jar
[ERROR] urls[36] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-jersey/1.26.2/enunciate-jersey-1.26.2.jar
[ERROR] urls[37] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-jersey-rt/1.26.2/enunciate-jersey-rt-1.26.2.jar
[ERROR] urls[38] = file:/root/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.3/jackson-jaxrs-1.9.3.jar
[ERROR] urls[39] = file:/root/.m2/repository/org/codehaus/jackson/jackson-xc/1.9.3/jackson-xc-1.9.3.jar
[ERROR] urls[40] = file:/root/.m2/repository/com/sun/jersey/jersey-server/1.11/jersey-server-1.11.jar
[ERROR] urls[41] = file:/root/.m2/repository/asm/asm/3.1/asm-3.1.jar
[ERROR] urls[42] = file:/root/.m2/repository/com/sun/jersey/jersey-core/1.11/jersey-core-1.11.jar
[ERROR] urls[43] = file:/root/.m2/repository/com/sun/jersey/jersey-servlet/1.11/jersey-servlet-1.11.jar
[ERROR] urls[44] = file:/root/.m2/repository/javax/mail/mail/1.4.4/mail-1.4.4.jar
[ERROR] urls[45] = file:/root/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
[ERROR] urls[46] = file:/root/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.3/jaxb-impl-2.2.3.jar
[ERROR] urls[47] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-xml/1.26.2/enunciate-xml-1.26.2.jar
[ERROR] urls[48] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-java-client/1.26.2/enunciate-java-client-1.26.2.jar
[ERROR] urls[49] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-c/1.26.2/enunciate-c-1.26.2.jar
[ERROR] urls[50] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-obj-c/1.26.2/enunciate-obj-c-1.26.2.jar
[ERROR] urls[51] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-csharp/1.26.2/enunciate-csharp-1.26.2.jar
[ERROR] urls[52] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-ruby/1.26.2/enunciate-ruby-1.26.2.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[project>org.opendaylight.controller:networkconfig.neutron.implementation:0.4.1-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------: com.sun.mirror.apt.AnnotationProcessorFactory
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :networkconfig.neutron.northbound
what can i do about this problem.

visual studio not inputting URL into browser after driver.get(URL) because 'URL must be a string'

Inputting the code below in Visual Studio, typing "node index.js" into the Terminal Output gives me:
"WebDriverError: unknown error: 'url' must be a string"
-have tried just using driver.get(URL); and typing into the Terminal Output "Set URL=http://port-80-6p76k7hj7t.treehouse-app.com/ node index.js" which returns an error message of "A positional parameter cannot be found that accepts argument 'index.js'"
-have tried \ and // for the URL
This is the code that i'm using:
require('chromedriver');
const selenium = require('selenium-webdriver');
const By = selenium.By;
const driver = new selenium.Builder().forBrowser("chrome").build();
driver.get("https://port-80-6p76k7hj7t.treehouse-app.com/");
const locators = { inviteeForm: By.id("registrar"), inviteeNameField: By.name("name") };
function addInvitee(name) { driver.findElement(locators.inviteeNameField).sendKeys(name); driver.findElement(locators.inviteeForm).sub(); }
add invitee("Kevin Smith");
add invitee("Joe Smith");
Error i'm getting is:
[ERROR] node : C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\promise.js:2626
[ERROR] At line:1 char:1
[ERROR] + node index.js
[ERROR] + ~~~~~~~~~~~~~
[ERROR] + CategoryInfo : NotSpecified: (C:\users\kevin....promise.js:2626:String) [], RemoteException
[ERROR] + FullyQualifiedErrorId : NativeCommandError
[ERROR]
[ERROR] throw error;
[ERROR] ^
[ERROR]
[ERROR] WebDriverError: unknown error: 'url' must be a string
[ERROR] (Session info: chrome=68.0.3440.106)
[ERROR] (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 10.0.17134 x86_64)
[ERROR] at Object.checkLegacyResponse (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\error.js:546:15)
[ERROR] at parseHttpResponse (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\http.js:509:13)
[ERROR] at doSend.then.response (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\http.js:441:30)
[ERROR] at process._tickCallback (internal/process/next_tick.js:68:7)
[ERROR] From: Task: WebDriver.navigate().to(undefined)
[ERROR] at thenableWebDriverProxy.schedule (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\webdriver.js:807:17)
[ERROR] at Navigation.to (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\webdriver.js:1133:25)
[ERROR] at thenableWebDriverProxy.get (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\webdriver.js:988:28)
[ERROR] at Object.<anonymous> (C:\users\kevin.yu\selenium-basics\node_modules\index.js:12:8)
[ERROR] at Module._compile (internal/modules/cjs/loader.js:689:30)
[ERROR] at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
[ERROR] at Module.load (internal/modules/cjs/loader.js:599:32)
[ERROR] at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
[ERROR] at Function.Module._load (internal/modules/cjs/loader.js:530:3)
[ERROR] at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
[ERROR]
I am permanently stuck, please send help!
Thanks in advance!

Unable to build react-native app in Mac (Configuration with name 'default' not found)

I have a react-native app that i am able to build and run in Linux without any Issues and when i tried to do the same in Mac ( I am still trying to emulate in Android in Mac using android studio) i am getting the following error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
> Configuration with name 'default' not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
I am running the following command :
react-native run-android
I have updated the gradle scripts to include the --debug and --stacktrace options and here is the debug log
22:19:10.625 [DEBUG] [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 0.005 secs
22:19:10.626 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :react-native-share - Transitioning model element 'tasks' from state Created to SelfClosed
22:19:10.626 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :react-native-share - Transitioning model element 'tasks' to state DefaultsApplied.
22:19:10.626 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :react-native-share - Transitioning model element 'tasks' to state Initialized.
22:19:10.626 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :react-native-share - Transitioning model element 'tasks' to state Mutated.
22:19:10.626 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :react-native-share - Transitioning model element 'tasks' to state Finalized.
22:19:10.626 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :react-native-share - Transitioning model element 'tasks' to state SelfClosed.
22:19:10.646 [ERROR] [org.gradle.BuildExceptionReporter]
22:19:10.648 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
22:19:10.649 [ERROR] [org.gradle.BuildExceptionReporter]
22:19:10.649 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
22:19:10.649 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred configuring project ':app'.
22:19:10.649 [ERROR] [org.gradle.BuildExceptionReporter] > Could not resolve all dependencies for configuration ':app:_debugApk'.
22:19:10.649 [ERROR] [org.gradle.BuildExceptionReporter] > Configuration with name 'default' not found.
22:19:10.650 [ERROR] [org.gradle.BuildExceptionReporter]
22:19:10.650 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
22:19:10.651 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.
22:19:10.652 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:79)
22:19:10.652 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:74)
22:19:10.652 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:61)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:124)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Factories$1.create(Factories.java:22)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:121)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:239)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:212)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:33)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':app:_debugApk'.
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.wrapException(ErrorHandlingConfigurationResolver.java:70)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolve(ErrorHandlingConfigurationResolver.java:45)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveGraphIfRequired(DefaultConfiguration.java:372)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveNow(DefaultConfiguration.java:347)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getResolvedConfiguration(DefaultConfiguration.java:340)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration_Decorated.getResolvedConfiguration(Unknown Source)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.DependencyManager.collectArtifacts(DependencyManager.java:497)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.DependencyManager.gatherDependencies(DependencyManager.java:375)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.DependencyManager.resolveDependencyForConfig(DependencyManager.java:278)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.DependencyManager.resolveDependencies(DependencyManager.java:155)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.TaskManager.resolveDependencies(TaskManager.java:364)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:636)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:633)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.profile.SpanRecorders.record(SpanRecorders.java:44)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager.createVariantData(VariantManager.java:629)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager.createVariantDataForProductFlavors(VariantManager.java:823)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager.populateVariantDataList(VariantManager.java:494)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:269)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:266)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager.createAndroidTasks(VariantManager.java:265)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:688)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:685)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:683)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:605)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.BasePlugin.lambda$createTasks$1(BasePlugin.java:603)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:93)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:82)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:44)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.proxy.$Proxy12.afterEvaluate(Unknown Source)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:67)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] ... 44 more
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.artifacts.UnknownConfigurationException: Configuration with name 'default' not found.
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.createNotFoundException(DefaultConfigurationContainer.java:92)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.DefaultNamedDomainObjectCollection.getByName(DefaultNamedDomainObjectCollection.java:229)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.getByName(DefaultConfigurationContainer.java:82)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.getByName(DefaultConfigurationContainer.java:37)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency.getProjectConfiguration(DefaultProjectDependency.java:69)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency_Decorated.getProjectConfiguration(Unknown Source)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.dependencies.ProjectIvyDependencyDescriptorFactory.createDependencyDescriptor(ProjectIvyDependencyDescriptorFactory.java:40)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.dependencies.DefaultDependencyDescriptorFactory.createDependencyDescriptor(DefaultDependencyDescriptorFactory.java:35)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.dependencies.DefaultDependenciesToModuleDescriptorConverter.addDependencies(DefaultDependenciesToModuleDescriptorConverter.java:43)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.dependencies.DefaultDependenciesToModuleDescriptorConverter.addDependencyDescriptors(DefaultDependenciesToModuleDescriptorConverter.java:36)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.DefaultConfigurationComponentMetaDataBuilder.addDependencies(DefaultConfigurationComponentMetaDataBuilder.java:51)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.DefaultConfigurationComponentMetaDataBuilder.addConfigurations(DefaultConfigurationComponentMetaDataBuilder.java:39)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.toRootComponentMetaData(DefaultConfiguration.java:557)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$DefaultResolveContextToComponentResolver.resolve(DefaultArtifactDependencyResolver.java:144)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.resolve(DependencyGraphBuilder.java:74)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:90)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:80)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:61)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:39)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver.resolve(DefaultArtifactDependencyResolver.java:80)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver$1.run(CacheLockingArtifactDependencyResolver.java:41)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Factories$1.create(Factories.java:22)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:192)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:175)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:106)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache.useCache(DefaultCacheFactory.java:187)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManager.useCache(DefaultCacheLockingManager.java:64)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver.resolve(CacheLockingArtifactDependencyResolver.java:39)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationResolver.resolve(DefaultConfigurationResolver.java:91)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyConfigurationResolver.resolve(SelfResolvingDependencyConfigurationResolver.java:40)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.ShortCircuitEmptyConfigurationResolver.resolve(ShortCircuitEmptyConfigurationResolver.java:52)
22:19:10.663 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolve(ErrorHandlingConfigurationResolver.java:43)
22:19:10.663 [ERROR] [org.gradle.BuildExceptionReporter] ... 84 more
22:19:10.663 [ERROR] [org.gradle.BuildExceptionReporter]
22:19:10.663 [LIFECYCLE] [org.gradle.BuildResultLogger]
22:19:10.663 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
22:19:10.663 [LIFECYCLE] [org.gradle.BuildResultLogger]
22:19:10.663 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 13.531 secs
I tried opening the android folder in Android Studio and the went to Tools -> Android -> Sync Project with Gradle Files and i see the same error in the console:
Gradle 'android' project refresh failed
Error:Configuration with name 'default' not found.
Not sure what i am doing wrong.
Appreciate any help.
Thanks
Sateesh
>check dependencies in the "build.gradle".
>file path is "android/app/build.gradle"
>you may uninstalled some modules.
>so you need to check dependencies in the "bukld.gradle" file.
>if there is one modules which you uninstalled see the dependencies list, you need to delete this module line CHECK IN "
Example:
dependencies {
compile project(':react-native-network-info')
compile project(':react-native-camera')
compile project(':react-native-vector-icons')
compile project(':react-native-icons')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
}
If you still haven't gotten this to work, try deleting your "/Project Name/android" directory, and then do the following:
react-native run-android
react-native link
react-native start