Issue with arm64 version of Node.js on M1
friederbluemle opened this issue · comments
Frieder Bluemle commented
Attempting to install swp
with an arm64 build of Node.js fails with the following error:
error node_modules/swp: Command failed.
Exit code: 1
Command: node npm/scripts.js install
Arguments:
Directory: node_modules/swp
Output:
node_modules/swp/npm/scripts.js:5
if (fatal) throw err;
^
Error: Unsupported platform: Darwin arm64. Please create an issue at https://github.com/woubuc/sweep/issues
at getPlatform (node_modules/swp/npm/getBinary.js:24:8)
at getBinary (node_modules/swp/npm/getBinary.js:28:19)
at getBinary (node_modules/swp/npm/scripts.js:3:32)
at Object.<anonymous> (node_modules/swp/npm/scripts.js:15:17)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)