Trying to install on various Mac's give issues with node-gyp, such as:
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! ../src/serialport.cpp:41:48: error: too few arguments to function call, single argument 'context' was not specified
npm ERR! v8::String::Utf8Value path(info[0]->ToString());
npm ERR!
...
npm ERR! 8 warnings and 17 errors generated.
npm ERR! make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:520:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Darwin 22.5.0
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /Users/tbjolset/dev/tmp/jone/node_modules/serialport
npm ERR! gyp ERR! node -v v16.14.0
npm ERR! gyp ERR! node-gyp -v v9.0.0
npm ERR! gyp ERR! not ok
Any chance that this library is even supported on Macs?
(node version: 16.14 and similar)
Trying to install on various Mac's give issues with node-gyp, such as:
Any chance that this library is even supported on Macs?
(node version: 16.14 and similar)