Forgive me if I'm making some sort of mistake, but I am trying to load easymidi into my Electron app. Upon requiring the package, I get the following error:
Uncaught Error: Loading non-context-aware native module in renderer: '\\?\C:\Users\my_user\Documents\Midi-App\midi-electron\node_modules\midi\build\Release\midi.node'. See https://github.com/electron/electron/issues/18397.
Upon further research, I see that midi was in fact updated to be context aware, and your wrapper does use the latest version, so what gives?
To reproduce the error, simply add const easymidi = require('easymidi'); to your main.js file before running npm start.