Use $() instead of backticks (#235)
#576
Annotations
3 errors and 3 notices
|
|
|
packages/host/packages/host/src/node/gradle.test.ts#L61
AssertionError [ERR_ASSERTION]: Expected success: > Task :gradle-plugin:react-native-gradle-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:shared:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:shared:compileKotlin UP-TO-DATE
> Task :gradle-plugin:shared:compileJava NO-SOURCE
> Task :gradle-plugin:shared:processResources NO-SOURCE
> Task :gradle-plugin:shared:classes UP-TO-DATE
> Task :gradle-plugin:shared:jar UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:compileKotlin UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:react-native-gradle-plugin:pluginDescriptors UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:processResources UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:classes UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:jar UP-TO-DATE
> Configure project :app
Signing config for 'release' build type not found; reusing debug config
[Incubating] Problems report is available at: file:///home/runner/work/react-native-node-api/react-native-node-api/apps/test-app/android/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
6 actionable tasks: 6 up-to-date
FAILURE: Build failed with an exception.
* Where:
Build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 145
* What went wrong:
Could not compile build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle'.
> startup failed:
build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle': 145: token recognition error at: '(' @ line 145, column 59.
T_NATIVE_OVERRIDE_HERMES_DIR=$(npx react
^
1 error
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1s
1 !== 0
at TestContext.<anonymous> (/home/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:61:16)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1047:25)
at Test.start (node:internal/test_runner/test:944:17)
at node:internal/test_runner/test:1440:71
at node:internal/per_context/primordials:483:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:451:29)
at node:internal/per_context/primordials:483:9
at Array.map (<anonymous>) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 1,
expected: 0,
operator: 'strictEqual',
diff: 'simple'
}
|
|
packages/host/packages/host/src/node/gradle.test.ts#L31
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /React Native Node-API needs a custom version of Hermes with Node-API enabled/. Input:
'\n' +
'FAILURE: Build failed with an exception.\n' +
'\n' +
'* Where:\n' +
"Build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 145\n" +
'\n' +
'* What went wrong:\n' +
"Could not compile build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle'.\n" +
'> startup failed:\n' +
" build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle': 145: token recognition error at: '(' @ line 145, column 59.\n" +
' T_NATIVE_OVERRIDE_HERMES_DIR=$(npx react\n' +
' ^\n' +
' \n' +
' 1 error\n' +
'\n' +
'\n' +
'* Try:\n' +
'> Run with --stacktrace option to get the stack trace.\n' +
'> Run with --info or --debug option to get more log output.\n' +
'> Run with --scan to get full insights.\n' +
'> Get more help at https://help.gradle.org.\n' +
'\n' +
'BUILD FAILED in 1m 54s\n'
at TestContext.<anonymous> (/home/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:31:16)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1047:25)
at Test.start (node:internal/test_runner/test:944:17)
at node:internal/test_runner/test:1440:71
at node:internal/per_context/primordials:483:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:451:29)
at node:internal/per_context/primordials:483:9
at Array.map (<anonymous>) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: "\nFAILURE: Build failed with an exception.\n\n* Where:\nBuild file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 145\n\n* What went wrong:\nCould not compile build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle'.\n> startup failed:\n build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle': 145: token recognition error at: '(' @ line 145, column 59.\n T_NATIVE_OVERRIDE_HERMES_DIR=$(npx react\n ^\n \n 1 error\n\n\n* Try:\n> Run with --stacktrace option to get the stack trace.\n> Run with --info or --debug option to get more log output.\n> Run with --scan to get full insights.\n> Get more help at https://help.gradle.org.\n\nBUILD FAILED in 1m 54s\n",
expected: /React Native Node-API needs a custom version of Hermes with Node-API enabled/,
operator: 'match',
diff: 'simple'
}
|
|
|
|
|
|
|
The logs for this run have expired and are no longer available.
Loading