i could use some help getting this running on my m1 mac. i keep getting ‘ERR_DLOPEN_FAILED’. it has something to do with the ‘easymidi’ module, and maybe something to do with the version of Node i’m running – i’m very out of practice with development… not sure how to find which version of Node i need to use, or if Node is actually the problem. i also do not understand ‘incompatible architecture’, (seemingly the actual problem) which started popping up as an issue for me when i transferred everything from my old mac to the m1. any help would be appreciated!

/Users/tymaraist/Documents/Monome/linn/node_modules/bindings/bindings.js:121
        throw e;
        ^

Error: dlopen(/Users/tymaraist/Documents/Monome/linn/node_modules/easymidi/node_modules/midi/build/Release/midi.node, 0x0001): tried: '/Users/tymaraist/Documents/Monome/linn/node_modules/easymidi/node_modules/midi/build/Release/midi.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/tymaraist/Documents/Monome/linn/node_modules/easymidi/node_modules/midi/build/Release/midi.node' (no such file), '/Users/tymaraist/Documents/Monome/linn/node_modules/easymidi/node_modules/midi/build/Release/midi.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
    at Module._extensions..node (node:internal/modules/cjs/loader:1577:18)
    at Module.load (node:internal/modules/cjs/loader:1282:32)
    at Module._load (node:internal/modules/cjs/loader:1098:12)
    at TracingChannel.traceSync (node:diagnostics_channel:315:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:215:24)
    at Module.require (node:internal/modules/cjs/loader:1304:12)
    at require (node:internal/modules/helpers:123:16)
    at bindings (/Users/tymaraist/Documents/Monome/linn/node_modules/bindings/bindings.js:112:48)
    at Object.<anonymous> (/Users/tymaraist/Documents/Monome/linn/node_modules/easymidi/node_modules/midi/midi.js:1:31)
    at Module._compile (node:internal/modules/cjs/loader:1467:14) {
  code: 'ERR_DLOPEN_FAILED'
}

Node.js v22.4.0