You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I am trying to browserify node-midi from justinlatimer. I installed the npm package in my directory, then ran browserify -r midi > bundle.js. I created a bare bones html file that includes the following:
<script src="bundle.js"></script>
<script>
var midi = require('midi');
var input = new midi.input();
console.log(input.getPortName(0)); // simple test to see if browserified midi works
</script>
This results in: "TypeError: process.versions is undefined" at bundle.js 90:
Hi. I am trying to browserify node-midi from justinlatimer. I installed the npm package in my directory, then ran browserify -r midi > bundle.js. I created a bare bones html file that includes the following:
This results in: "TypeError: process.versions is undefined" at bundle.js 90:
Any ideas?
Thank you
The text was updated successfully, but these errors were encountered: