{"action":"created","issue":{"url":"https://api.github.com/repos/tessel/t2-cli/issues/659","repository_url":"https://api.github.com/repos/tessel/t2-cli","labels_url":"https://api.github.com/repos/tessel/t2-cli/issues/659/labels{/name}","comments_url":"https://api.github.com/repos/tessel/t2-cli/issues/659/comments","events_url":"https://api.github.com/repos/tessel/t2-cli/issues/659/events","html_url":"https://github.com/tessel/t2-cli/issues/659","id":147483657,"number":659,"title":"Pre-compiled module is missing: midi and `Could not locate the bindings file`","user":{"login":"albatrocity","id":5196,"avatar_url":"https://avatars.githubusercontent.com/u/5196?v=3","gravatar_id":"","url":"https://api.github.com/users/albatrocity","html_url":"https://github.com/albatrocity","followers_url":"https://api.github.com/users/albatrocity/followers","following_url":"https://api.github.com/users/albatrocity/following{/other_user}","gists_url":"https://api.github.com/users/albatrocity/gists{/gist_id}","starred_url":"https://api.github.com/users/albatrocity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albatrocity/subscriptions","organizations_url":"https://api.github.com/users/albatrocity/orgs","repos_url":"https://api.github.com/users/albatrocity/repos","events_url":"https://api.github.com/users/albatrocity/events{/privacy}","received_events_url":"https://api.github.com/users/albatrocity/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"reconbot","id":25966,"avatar_url":"https://avatars.githubusercontent.com/u/25966?v=3","gravatar_id":"","url":"https://api.github.com/users/reconbot","html_url":"https://github.com/reconbot","followers_url":"https://api.github.com/users/reconbot/followers","following_url":"https://api.github.com/users/reconbot/following{/other_user}","gists_url":"https://api.github.com/users/reconbot/gists{/gist_id}","starred_url":"https://api.github.com/users/reconbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reconbot/subscriptions","organizations_url":"https://api.github.com/users/reconbot/orgs","repos_url":"https://api.github.com/users/reconbot/repos","events_url":"https://api.github.com/users/reconbot/events{/privacy}","received_events_url":"https://api.github.com/users/reconbot/received_events","type":"User","site_admin":false},"milestone":null,"comments":15,"created_at":"2016-04-11T16:32:32Z","updated_at":"2016-04-21T01:33:42Z","closed_at":"2016-04-12T00:23:30Z","body":"I'm trying to use the [node-midi](https://github.com/justinlatimer/node-midi) package and I'm getting the `Pre-compiled module is missing: midi.` warning when running `t2 run index.js`. That doesn't stop the build, but it eventually fails with \r\n```\r\nError: Could not locate the bindings file. Tried:\r\n → /tmp/remote-script/node_modules/midi/build/midi.node\r\n → /tmp/remote-script/node_modules/midi/build/Debug/midi.node\r\n → /tmp/remote-script/node_modules/midi/build/Release/midi.node\r\n → /tmp/remote-script/node_modules/midi/out/Debug/midi.node\r\n → /tmp/remote-script/node_modules/midi/Debug/midi.node\r\n → /tmp/remote-script/node_modules/midi/out/Release/midi.node\r\n → /tmp/remote-script/node_modules/midi/Release/midi.node\r\n → /tmp/remote-script/node_modules/midi/build/default/midi.node\r\n → /tmp/remote-script/node_modules/midi/compiled/4.2.1/linux/mipsel/midi.node\r\n```\r\n\r\nThere _is_ a `midi.node` file at `node_modules/midi/build/Release/midi.node`. I've also tried running it with the `--full` flag, which fails with \r\n\r\n```\r\nnode: '/tmp/remote-script/node_modules/midi/build/Release/midi.node' is not an ELF file\r\n```\r\n\r\nI'm on Node `v5.9.1` and `node-gyp v3.3.1` on OS X. Same error appears with Node `v4.2.1`.\r\n\r\nLooks like someone had a [similar issue](https://github.com/justinlatimer/node-midi/issues/89) with this package on a RaspberryPie. \r\n\r\nAny insight into what's causing this? I'm happy to defer this to the `node-midi` repo, just thought it might be handy to have here too. Thanks!"},"comment":{"url":"https://api.github.com/repos/tessel/t2-cli/issues/comments/212685072","html_url":"https://github.com/tessel/t2-cli/issues/659#issuecomment-212685072","issue_url":"https://api.github.com/repos/tessel/t2-cli/issues/659","id":212685072,"user":{"login":"rwaldron","id":27985,"avatar_url":"https://avatars.githubusercontent.com/u/27985?v=3","gravatar_id":"","url":"https://api.github.com/users/rwaldron","html_url":"https://github.com/rwaldron","followers_url":"https://api.github.com/users/rwaldron/followers","following_url":"https://api.github.com/users/rwaldron/following{/other_user}","gists_url":"https://api.github.com/users/rwaldron/gists{/gist_id}","starred_url":"https://api.github.com/users/rwaldron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwaldron/subscriptions","organizations_url":"https://api.github.com/users/rwaldron/orgs","repos_url":"https://api.github.com/users/rwaldron/repos","events_url":"https://api.github.com/users/rwaldron/events{/privacy}","received_events_url":"https://api.github.com/users/rwaldron/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T01:33:42Z","updated_at":"2016-04-21T01:33:42Z","body":"@johnnyman727 https://github.com/tessel/openwrt-tessel/blob/master/config.mk#L52-L53 ?"}}