FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix npm install and C++ compilation errors on Node 24 by yumin-chen · Pull Request #10 · Chen-Software/nodegit · GitHub

Repository navigation

Fix npm install and C++ compilation errors on Node 24 - #10

Open
yumin-chen wants to merge 6 commits into
node-apifrom
fix-node24-cpp-build-errors-10188625528025009261
Open

yumin-chen wants to merge 6 commits into
node-apifrom
fix-node24-cpp-build-errors-10188625528025009261

Conversation

Copy link
Copy Markdown

Fixes compilation errors during npm install on newer Node.js versions (such as Node 24) by:

  1. Removing invalid persistentStorage initializer in AsyncWorker constructor (generate/templates/manual/src/async_worker.cc).
  2. Correcting duplicate destructor signature to DestroyNative() in NodeGitWrapper (generate/templates/manual/src/nodegit_wrapper.cc).
  3. Guarding legacy OpenSSL locking callback setup/teardown with #if OPENSSL_VERSION_NUMBER < 0x10100000L in generate/templates/templates/nodegit.cc.

PR created automatically by Jules for task 10188625528025009261 started by @yumin-chen

yumin-chen and others added 6 commits September 18, 2026 11:55
Require node >= 22 and use NAPI_VERSION=10
- Fix invalid initializer for persistentStorage std::map in AsyncWorker constructor
- Fix duplicate destructor definition in NodeGitWrapper, defining DestroyNative() correctly
- Wrap deprecated OpenSSL locking callback cleanup in OPENSSL_VERSION_NUMBER < 1.1 check

Co-authored-by: yumin-chen <10954839+yumin-chen@users.noreply.github.com>

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

yumin-chen force-pushed the node-api branch 3 times, most recently from f99272f to 0be17d3 Compare September 21, 2026 14:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL