Unbreak `main` after Node.js version got updated

Open
#218 0 comments 0 reactions 1 assignee View on GitHub

@kraenhansen is already working on this.

Since Aug 11, 2025.

Assessment

This issue has not been assessed yet.

Description

CI

The latest commit on main fails because it use the latest Node.js version (22.18.0), because the __dirname global isn't defined in an ESM.

https://github.com/callstackincubator/react-native-node-api/actions/runs/16871579773/job/47787309619

Dominant language
TypeScript
Stars
206
Forks
12
Avg merge
4h 8m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from callstackincubator/react-native-node-api

All issues in callstackincubator/react-native-node-api

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.