Factory Wrap example correct?
bsrdjan opened this issue · comments
I could not get the ObjectWrap Factory example myobject.cc running, because env.SetInstanceData()
and env.GetInstanceData()
methods do not exist.
Should this example work, am I missing something?
make sure these values are correct in package.json:
"engines": { "node": ">= 14.0.0" },
"dependencies": {
"bindings": "~1.2.1",
"node-addon-api": "^3.0.0"
},
Thanks, already fixed by updating NAPI version in my Cmake script.