{"action":"created","issue":{"url":"https://api.github.com/repos/parro-it/libui-node/issues/46","repository_url":"https://api.github.com/repos/parro-it/libui-node","labels_url":"https://api.github.com/repos/parro-it/libui-node/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/parro-it/libui-node/issues/46/comments","events_url":"https://api.github.com/repos/parro-it/libui-node/issues/46/events","html_url":"https://github.com/parro-it/libui-node/issues/46","id":169748477,"number":46,"title":"Error: The specified module could not be found.","user":{"login":"KraXarN","id":6675728,"avatar_url":"https://avatars.githubusercontent.com/u/6675728?v=3","gravatar_id":"","url":"https://api.github.com/users/KraXarN","html_url":"https://github.com/KraXarN","followers_url":"https://api.github.com/users/KraXarN/followers","following_url":"https://api.github.com/users/KraXarN/following{/other_user}","gists_url":"https://api.github.com/users/KraXarN/gists{/gist_id}","starred_url":"https://api.github.com/users/KraXarN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KraXarN/subscriptions","organizations_url":"https://api.github.com/users/KraXarN/orgs","repos_url":"https://api.github.com/users/KraXarN/repos","events_url":"https://api.github.com/users/KraXarN/events{/privacy}","received_events_url":"https://api.github.com/users/KraXarN/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-06T14:16:17Z","updated_at":"2016-08-17T23:20:13Z","closed_at":null,"body":"Tried running the control-gallery example on OS X which works without issues, but attempting to run it on Windows 7 results in an error:\r\n```\r\nmodule.js:568\r\n  return process.dlopen(module, path._makeLong(filename));\r\n                 ^\r\n\r\nError: The specified module could not be found.\r\n\\\\?\\node_modules\\libui-node\\build\\Release\\nbind.node\r\n    at Error (native)\r\n    at Object.Module._extensions..node (module.js:568:18)\r\n    at Module.load (module.js:458:32)\r\n    at tryModuleLoad (module.js:417:12)\r\n    at Function.Module._load (module.js:409:3)\r\n    at Module.require (module.js:468:17)\r\n    at require (internal/module.js:20:19)\r\n    at initNode (node_modules\\libui-node\\node_modules\\nind\\dist\\nbind.js:162:15)\r\n    at node_modules\\libui-node\\node_modules\\nbind\\dist\\bind.js:130:13\r\n    at findCompiledModule (node_modules\\libui-node\\nodemodules\\nbind\\dist\\nbind.js:94:13)\r\n```\r\n\r\nEDIT: Found the problem. It's having issues finding libui.dll and copying the file from node_modules/libui-node to the root of the script fixed it and it now works fine. Don't know if there's any better solution to this..."},"comment":{"url":"https://api.github.com/repos/parro-it/libui-node/issues/comments/240578813","html_url":"https://github.com/parro-it/libui-node/issues/46#issuecomment-240578813","issue_url":"https://api.github.com/repos/parro-it/libui-node/issues/46","id":240578813,"user":{"login":"KraXarN","id":6675728,"avatar_url":"https://avatars.githubusercontent.com/u/6675728?v=3","gravatar_id":"","url":"https://api.github.com/users/KraXarN","html_url":"https://github.com/KraXarN","followers_url":"https://api.github.com/users/KraXarN/followers","following_url":"https://api.github.com/users/KraXarN/following{/other_user}","gists_url":"https://api.github.com/users/KraXarN/gists{/gist_id}","starred_url":"https://api.github.com/users/KraXarN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KraXarN/subscriptions","organizations_url":"https://api.github.com/users/KraXarN/orgs","repos_url":"https://api.github.com/users/KraXarN/repos","events_url":"https://api.github.com/users/KraXarN/events{/privacy}","received_events_url":"https://api.github.com/users/KraXarN/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T23:20:13Z","updated_at":"2016-08-17T23:20:13Z","body":"Hello. Sorry for the long delay, forgot to reply. :/\r\n\r\n[Here](http://pastebin.com/14eX7MmV)'s the full log of the install. I can't find any information of it copying the dll file, so maybe that's the issue.\r\n\r\nIf the folder where the script is I'm trying to run, containing my code is the root, the dll was placed in `/node_modules/libui-node/libui.dll` and I had to copy it to `/libui.dll` for it to work. If the dll isn't in that location and in the node_modules folder, that errors pops up upon starting my script."}}
{"actor":{"display_login":"KraXarN"}}