Skip to content

Separate weak-node-api package #856

Separate weak-node-api package

Separate weak-node-api package #856

Triggered via pull request November 4, 2025 09:54
Status Failure
Total duration 38m 47s
Artifacts 1

check.yml

on: pull_request
Lint
1m 54s
Lint
Test app (iOS)
38m 38s
Test app (iOS)
Test app (macOS)
0s
Test app (macOS)
Test app (Android)
24m 43s
Test app (Android)
Test ferric Apple triplets
0s
Test ferric Apple triplets
Matrix: unit-tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 9 notices
Unit tests (ubuntu-latest)
Process completed with exit code 1.
should fail if REACT_NATIVE_OVERRIDE_HERMES_DIR is not set: packages/host/packages/host/src/node/gradle.test.ts#L39
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /export REACT_NATIVE_OVERRIDE_HERMES_DIR=\$\(npx react-native-node-api vendor-hermes --silent --force\)/. 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: 6\n" + '\n' + '* What went wrong:\n' + "A problem occurred evaluating project ':react-native-node-api'.\n" + '> React Native Node-API needs a custom version of Hermes with Node-API enabled.\n' + ' Run the following in your Bash- or Zsh-compatible terminal, to clone Hermes and instruct React Native to use it:\n' + ' \n' + ' export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent)\n' + ' \n' + ' And follow this guide to build React Native from source:\n' + ' https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source\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 44s\n' at TestContext.<anonymous> (/home/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:39: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:464:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:433:3) at node:internal/per_context/primordials:464: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: 6\n\n* What went wrong:\nA problem occurred evaluating project ':react-native-node-api'.\n> React Native Node-API needs a custom version of Hermes with Node-API enabled.\n Run the following in your Bash- or Zsh-compatible terminal, to clone Hermes and instruct React Native to use it:\n \n export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent)\n \n And follow this guide to build React Native from source:\n https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source\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 44s\n", expected: /export REACT_NATIVE_OVERRIDE_HERMES_DIR=\$\(npx react-native-node-api vendor-hermes --silent --force\)/, operator: 'match', diff: 'simple' }
Unit tests (macos-latest)
Process completed with exit code 1.
should fail if REACT_NATIVE_OVERRIDE_HERMES_DIR is not set: packages/host/packages/host/src/node/gradle.test.ts#L39
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /export REACT_NATIVE_OVERRIDE_HERMES_DIR=\$\(npx react-native-node-api vendor-hermes --silent --force\)/. Input: '\n' + 'FAILURE: Build failed with an exception.\n' + '\n' + '* Where:\n' + "Build file '/Users/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 6\n" + '\n' + '* What went wrong:\n' + "A problem occurred evaluating project ':react-native-node-api'.\n" + '> React Native Node-API needs a custom version of Hermes with Node-API enabled.\n' + ' Run the following in your Bash- or Zsh-compatible terminal, to clone Hermes and instruct React Native to use it:\n' + ' \n' + ' export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent)\n' + ' \n' + ' And follow this guide to build React Native from source:\n' + ' https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source\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 2m 5s\n' at TestContext.<anonymous> (/Users/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:39: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:464:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:433:3) at node:internal/per_context/primordials:464:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: "\nFAILURE: Build failed with an exception.\n\n* Where:\nBuild file '/Users/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 6\n\n* What went wrong:\nA problem occurred evaluating project ':react-native-node-api'.\n> React Native Node-API needs a custom version of Hermes with Node-API enabled.\n Run the following in your Bash- or Zsh-compatible terminal, to clone Hermes and instruct React Native to use it:\n \n export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent)\n \n And follow this guide to build React Native from source:\n https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source\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 2m 5s\n", expected: /export REACT_NATIVE_OVERRIDE_HERMES_DIR=\$\(npx react-native-node-api vendor-hermes --silent --force\)/, operator: 'match', diff: 'simple' }
Unit tests (windows-latest)
Process completed with exit code 1.
should fail if REACT_NATIVE_OVERRIDE_HERMES_DIR is not set: packages\host\packages\host\src\node\gradle.test.ts#L39
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /export REACT_NATIVE_OVERRIDE_HERMES_DIR=\$\(npx react-native-node-api vendor-hermes --silent --force\)/. Input: '\r\n' + 'FAILURE: Build failed with an exception.\r\n' + '\r\n' + '* Where:\r\n' + "Build file 'D:\\a\\react-native-node-api\\react-native-node-api\\node_modules\\react-native-node-api\\android\\build.gradle' line: 6\r\n" + '\r\n' + '* What went wrong:\r\n' + "A problem occurred evaluating project ':react-native-node-api'.\r\n" + '> React Native Node-API needs a custom version of Hermes with Node-API enabled.\n' + ' Run the following in your Bash- or Zsh-compatible terminal, to clone Hermes and instruct React Native to use it:\n' + ' \n' + ' export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent)\n' + ' \n' + ' And follow this guide to build React Native from source:\n' + ' https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source\r\n' + '\r\n' + '* Try:\r\n' + '> Run with --stacktrace option to get the stack trace.\r\n' + '> Run with --info or --debug option to get more log output.\r\n' + '> Run with --scan to get full insights.\r\n' + '> Get more help at https://help.gradle.org.\r\n' + '\r\n' + 'BUILD FAILED in 3m 17s\r\n' at TestContext.<anonymous> (D:\a\react-native-node-api\react-native-node-api\packages\host\src\node\gradle.test.ts:39: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:464:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:433:3) at node:internal/per_context/primordials:464:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: "\r\nFAILURE: Build failed with an exception.\r\n\r\n* Where:\r\nBuild file 'D:\\a\\react-native-node-api\\react-native-node-api\\node_modules\\react-native-node-api\\android\\build.gradle' line: 6\r\n\r\n* What went wrong:\r\nA problem occurred evaluating project ':react-native-node-api'.\r\n> React Native Node-API needs a custom version of Hermes with Node-API enabled.\n Run the following in your Bash- or Zsh-compatible terminal, to clone Hermes and instruct React Native to use it:\n \n export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent)\n \n And follow this guide to build React Native from source:\n https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source\r\n\r\n* Try:\r\n> Run with --stacktrace option to get the stack trace.\r\n> Run with --info or --debug option to get more log output.\r\n> Run with --scan to get full insights.\r\n> Get more help at https://help.gradle.org.\r\n\r\nBUILD FAILED in 3m 17s\r\n", expected: /export REACT_NATIVE_OVERRIDE_HERMES_DIR=\$\(npx react-native-node-api vendor-hermes --silent --force\)/, operator: 'match', diff: 'simple' }
Test app (iOS)
Process completed with exit code 1.
Unit tests (ubuntu-latest)
Total Tests: 20 Suites 📂: 8 Passed ✅: 20 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 660.680ms
Unit tests (ubuntu-latest)
Total Tests: 3 Suites 📂: 2 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 524.991ms
Unit tests (ubuntu-latest)
Total Tests: 49 Suites 📂: 24 Passed ✅: 47 Failed ❌: 1 Canceled 🚫: 0 Skipped ⏭️: 1 Todo 📝: 0 Duration 🕐: 109291.638ms
Unit tests (macos-latest)
Total Tests: 20 Suites 📂: 8 Passed ✅: 20 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 517.206ms
Unit tests (macos-latest)
Total Tests: 3 Suites 📂: 2 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 461.228ms
Unit tests (macos-latest)
Total Tests: 56 Suites 📂: 29 Passed ✅: 55 Failed ❌: 1 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 132448.886ms
Unit tests (windows-latest)
Total Tests: 20 Suites 📂: 8 Passed ✅: 20 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 954.962ms
Unit tests (windows-latest)
Total Tests: 3 Suites 📂: 2 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 826.332ms
Unit tests (windows-latest)
Total Tests: 49 Suites 📂: 24 Passed ✅: 45 Failed ❌: 1 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 0 Duration 🕐: 204472.898ms

Artifacts

Produced during runtime
Name Size Digest
emulator-logcat
126 KB
sha256:7ef57a80bdc7cac675f12cec33f196ff7b61963476a6c79a4f1af78123d2f72a