Closed
Description
Version
v22.11.0+
Platform
Darwin LM-JNVH7RPW6J 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu10063.141.2~1/RELEASE_ARM64_T6030 arm64
Subsystem
No response
What steps will reproduce the bug?
- Go to https://nodejs.org/api/addons.html#hello-world
- Copy the sample code into a
hello.cc
file - Try to build it with
node-gyp
.
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
N/A
What do you see instead?
Build fails with
../hello.cc:14:27: error: no matching member function for call to 'Set'
args.GetReturnValue().Set(v8::String::NewFromUtf8(isolate, "world"));
Additional information
No response
Metadata
Metadata
Assignees
Labels
No labels