{"action":"closed","issue":{"url":"https://api.github.com/repos/mikeseven/node-webgl/issues/23","labels_url":"https://api.github.com/repos/mikeseven/node-webgl/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/mikeseven/node-webgl/issues/23/comments","events_url":"https://api.github.com/repos/mikeseven/node-webgl/issues/23/events","html_url":"https://github.com/mikeseven/node-webgl/issues/23","id":42403598,"number":23,"title":"Cannot find module 'bindings'","user":{"login":"cheery","id":1215420,"avatar_url":"https://avatars.githubusercontent.com/u/1215420?v=3","gravatar_id":"","url":"https://api.github.com/users/cheery","html_url":"https://github.com/cheery","followers_url":"https://api.github.com/users/cheery/followers","following_url":"https://api.github.com/users/cheery/following{/other_user}","gists_url":"https://api.github.com/users/cheery/gists{/gist_id}","starred_url":"https://api.github.com/users/cheery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheery/subscriptions","organizations_url":"https://api.github.com/users/cheery/orgs","repos_url":"https://api.github.com/users/cheery/repos","events_url":"https://api.github.com/users/cheery/events{/privacy}","received_events_url":"https://api.github.com/users/cheery/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-09-10T11:39:00Z","updated_at":"2015-11-26T07:15:21Z","closed_at":"2015-11-26T07:15:21Z","body":"Cloned repo today and tried it, but it ended up like this:\r\n\r\n<pre>cheery@ruttunen:~/node-webgl$ node-gyp rebuild\r\ngyp info it worked if it ends with ok\r\ngyp info using node-gyp@0.13.0\r\ngyp info using node@0.10.25 | linux | x64\r\ngyp info spawn python\r\ngyp info spawn args [ '/usr/local/lib/node_modules/node-gyp/gyp/gyp_main.py',\r\ngyp info spawn args   'binding.gyp',\r\ngyp info spawn args   '-f',\r\ngyp info spawn args   'make',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   '/home/cheery/node-webgl/build/config.gypi',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   '/usr/local/lib/node_modules/node-gyp/addon.gypi',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   '/home/cheery/.node-gyp/0.10.25/common.gypi',\r\ngyp info spawn args   '-Dlibrary=shared_library',\r\ngyp info spawn args   '-Dvisibility=default',\r\ngyp info spawn args   '-Dnode_root_dir=/home/cheery/.node-gyp/0.10.25',\r\ngyp info spawn args   '-Dmodule_root_dir=/home/cheery/node-webgl',\r\ngyp info spawn args   '--depth=.',\r\ngyp info spawn args   '--no-parallel',\r\ngyp info spawn args   '--generator-output',\r\ngyp info spawn args   'build',\r\ngyp info spawn args   '-Goutput_dir=.' ]\r\ngyp info spawn make\r\ngyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]\r\nmake: Entering directory `/home/cheery/node-webgl/build'\r\n  CXX(target) Release/obj.target/webgl/src/bindings.o\r\n  CXX(target) Release/obj.target/webgl/src/image.o\r\n  CXX(target) Release/obj.target/webgl/src/webgl.o\r\n  SOLINK_MODULE(target) Release/obj.target/webgl.node\r\n  SOLINK_MODULE(target) Release/obj.target/webgl.node: Finished\r\n  COPY Release/webgl.node\r\nmake: Leaving directory `/home/cheery/node-webgl/build'\r\ngyp info ok \r\ncheery@ruttunen:~/node-webgl$ node test/lesson02.js \r\n\r\nmodule.js:340\r\n    throw err;\r\n          ^\r\nError: Cannot find module 'bindings'\r\n    at Function.Module._resolveFilename (module.js:338:15)\r\n    at Function.Module._load (module.js:280:25)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at Object.<anonymous> (/home/cheery/node-webgl/lib/webgl.js:1:89)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Module.require (module.js:364:17)\r\ncheery@ruttunen:~/node-webgl$ </pre>"}}