Open SpaceGrey opened 2 weeks ago
System Version MacOS 15.1 M1 Pro
npm ERR! In file included from ../../nan/nan.h:62: npm ERR! In file included from /Users/grey/Library/Caches/node-gyp/21.7.1/include/node/node.h:73: npm ERR! /Users/grey/Library/Caches/node-gyp/21.7.1/include/node/v8.h:21:10: fatal error: 'memory' file not found npm ERR! 21 | #include <memory> npm ERR! | ^~~~~~~~ npm ERR! 1 error generated. npm ERR! make: *** [Release/obj.target/volume/src/volume.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.<anonymous> (/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23) npm ERR! gyp ERR! System Darwin 24.1.0 npm ERR! gyp ERR! command "/opt/homebrew/Cellar/node/21.7.1/bin/node" "/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd /opt/homebrew/lib/node_modules/appdmg/node_modules/macos-alias npm ERR! gyp ERR! node -v v21.7.1 npm ERR! gyp ERR! node-gyp -v v10.0.1 npm ERR! gyp ERR! not ok
Didn't know the solution, but found a similar thread in the node-gyp project:
System Version MacOS 15.1 M1 Pro