Apple link without cocoapods #982
Triggered via pull request
February 10, 2026 10:21
Status
Cancelled
Total duration
6m 24s
Artifacts
–
check.yml
on: pull_request
Lint
2m 5s
Test app (iOS)
5m 28s
Test app (macOS)
5m 37s
Test app (Android)
2m 4s
Test ferric Apple triplets
Matrix: unit-tests
Matrix: weak-node-api-tests
Annotations
13 errors, 1 warning, and 3 notices
|
Test app (Android)
Process completed with exit code 127.
|
|
Unit tests (ubuntu-latest)
Process completed with exit code 1.
|
|
should call the CLI to autolink:
packages/host/packages/host/src/node/gradle.test.ts#L64
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
> Task :react-native-node-api:linkNodeApiModules FAILED
[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.
7 actionable tasks: 1 executed, 6 up-to-date
/usr/bin/env: ‘node --enable-source-maps’: No such file or directory
/usr/bin/env: use -[v]S to pass options in shebang lines
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: 167
* What went wrong:
Execution failed for task ':react-native-node-api:linkNodeApiModules'.
> Process 'command '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/bin/react-native-node-api.mjs'' finished with non-zero exit value 127
* 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 2s
1 !== 0
at TestContext.<anonymous> (/home/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:64:16)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1106:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:788:18)
at Test.postRun (node:internal/test_runner/test:1235:19)
at Test.run (node:internal/test_runner/test:1163:12)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1518:7)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1518:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 1,
expected: 0,
operator: 'strictEqual',
diff: 'simple'
}
|
|
should succeed with a mention of Node-API modules:
packages/host/packages/host/src/node/cli/bin.test.ts#L55
AssertionError [ERR_ASSERTION]: Expected success (got 1): Auto-linking Node-API modules from /home/runner/work/react-native-node-api/react-native-node-api/packages/host
Found no Node-API modules 🤷
- Linking Android Node-API modules
✔ Linked Android Node-API modules
- Linking Apple Node-API modules
✖ Failed to link Apple Node-API modules
AssertionError [ERR_ASSERTION]: Linking Apple addons are only supported on macOS
'linux' !== 'darwin'
at createAppleLinker (/home/runner/work/react-native-node-api/react-native-node-api/packages/host/dist/node/cli/apple.js:279:22)
at createLinker (/home/runner/work/react-native-node-api/react-native-node-api/packages/host/dist/node/cli/program.js:25:46)
at modules.text (/home/runner/work/react-native-node-api/react-native-node-api/packages/host/dist/node/cli/program.js:70:27)
at oraPromise (file:///home/runner/work/react-native-node-api/react-native-node-api/packages/cli-utils/node_modules/ora/index.js:403:38)
at Command.<anonymous> (/home/runner/work/react-native-node-api/react-native-node-api/packages/host/dist/node/cli/program.js:66:58)
at async Command.<anonymous> (file:///home/runner/work/react-native-node-api/react-native-node-api/packages/cli-utils/dist/actions.js:7:13)
at async Command.parseAsync (/home/runner/work/react-native-node-api/react-native-node-api/packages/cli-utils/node_modules/commander/lib/command.js:1122:5) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 'linux',
expected: 'darwin',
operator: 'strictEqual',
diff: 'simple'
}
1 !== 0
at TestContext.<anonymous> (/home/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/cli/bin.test.ts:55:14)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1106:25)
at Test.start (node:internal/test_runner/test:1003:17)
at node:internal/test_runner/test:1516:71
at node:internal/per_context/primordials:466:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:435:3)
at node:internal/per_context/primordials:466:9
at Array.map (<anonymous>) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 1,
expected: 0,
operator: 'strictEqual',
diff: 'simple'
}
|
|
Unit tests (windows-latest)
Canceling since a higher priority waiting request for Check-refs/pull/351/merge exists
|
|
Unit tests (windows-latest)
The operation was canceled.
|
|
Test app (iOS)
Canceling since a higher priority waiting request for Check-refs/pull/351/merge exists
|
|
Test app (iOS)
The operation was canceled.
|
|
Unit tests (macos-latest)
Canceling since a higher priority waiting request for Check-refs/pull/351/merge exists
|
|
Unit tests (macos-latest)
The operation was canceled.
|
|
Test app (macOS)
Canceling since a higher priority waiting request for Check-refs/pull/351/merge exists
|
|
Test app (macOS)
The operation was canceled.
|
|
Check
Canceling since a higher priority waiting request for Check-refs/pull/351/merge exists
|
|
Test app (Android)
No files were found with the provided path: apps/test-app/emulator-logcat.txt. No artifacts will be uploaded.
|
|
Unit tests (ubuntu-latest)
Total Tests: 20
Suites 📂: 8
Passed ✅: 20
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 647.865ms
|
|
Unit tests (ubuntu-latest)
Total Tests: 3
Suites 📂: 2
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 610.297ms
|
|
Unit tests (ubuntu-latest)
Total Tests: 50
Suites 📂: 25
Passed ✅: 47
Failed ❌: 2
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 141739.965ms
|