{"action":"created","issue":{"url":"https://api.github.com/repos/oracle/node-oracledb/issues/35","labels_url":"https://api.github.com/repos/oracle/node-oracledb/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/oracle/node-oracledb/issues/35/comments","events_url":"https://api.github.com/repos/oracle/node-oracledb/issues/35/events","html_url":"https://github.com/oracle/node-oracledb/issues/35","id":59671259,"number":35,"title":"Runtime issue in Windows","user":{"login":"mradamlacey","id":1834013,"avatar_url":"https://avatars.githubusercontent.com/u/1834013?v=3","gravatar_id":"","url":"https://api.github.com/users/mradamlacey","html_url":"https://github.com/mradamlacey","followers_url":"https://api.github.com/users/mradamlacey/followers","following_url":"https://api.github.com/users/mradamlacey/following{/other_user}","gists_url":"https://api.github.com/users/mradamlacey/gists{/gist_id}","starred_url":"https://api.github.com/users/mradamlacey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mradamlacey/subscriptions","organizations_url":"https://api.github.com/users/mradamlacey/orgs","repos_url":"https://api.github.com/users/mradamlacey/repos","events_url":"https://api.github.com/users/mradamlacey/events{/privacy}","received_events_url":"https://api.github.com/users/mradamlacey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oracle/node-oracledb/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-03T16:58:51Z","updated_at":"2015-03-07T16:48:11Z","closed_at":null,"body":"I was able to build successfully in Windows but running into an issue running an example.  Command:\r\n```\r\nnode examples/connect.js\r\n```\r\n\r\noutput:\r\n```\r\nError: %1 is not a valid Win32 application.\r\nD:\\Users\\alacey\\AppData\\Roaming\\npm\\node_modules\\oracledb\\build\\Release\\oracledb.node\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\n    at require (module.js:380:17)\r\n    at Object.<anonymous> (D:\\Users\\alacey\\AppData\\Roaming\\npm\\node_modules\\oracledb\\lib\\oracledb.js:23:15)\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\n```\r\n\r\nAnyone have any success in actually running this module on Windows and connecting successfully?\r\n\r\nIt appears that the native module loader is attempting to load a 32 bit module, but I do know I built node-oracledb using the 64 bit compiler.\r\n\r\nI can confirm that I am running the 64 bit version of node.exe...  Any ideas?"},"comment":{"url":"https://api.github.com/repos/oracle/node-oracledb/issues/comments/77697541","html_url":"https://github.com/oracle/node-oracledb/issues/35#issuecomment-77697541","issue_url":"https://api.github.com/repos/oracle/node-oracledb/issues/35","id":77697541,"user":{"login":"roboweaver","id":3752123,"avatar_url":"https://avatars.githubusercontent.com/u/3752123?v=3","gravatar_id":"","url":"https://api.github.com/users/roboweaver","html_url":"https://github.com/roboweaver","followers_url":"https://api.github.com/users/roboweaver/followers","following_url":"https://api.github.com/users/roboweaver/following{/other_user}","gists_url":"https://api.github.com/users/roboweaver/gists{/gist_id}","starred_url":"https://api.github.com/users/roboweaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roboweaver/subscriptions","organizations_url":"https://api.github.com/users/roboweaver/orgs","repos_url":"https://api.github.com/users/roboweaver/repos","events_url":"https://api.github.com/users/roboweaver/events{/privacy}","received_events_url":"https://api.github.com/users/roboweaver/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T16:48:11Z","updated_at":"2015-03-07T16:48:11Z","body":"That's the same error I was seeing when trying to compile with a mix of 64 and 32 bit binaries.\r\n\r\nIn my case I had installed the 32-bit node after I was told I needed to downgrade to the earlier version of node that is required for the node-oracledb to compile. I used the MSI from http://nodejs.org/dist/v0.10.36/x64/\r\n\r\nYou also have to make sure your OCI environment variables are pointing to the right location for the 64-bit libs and headers as noted in the install guide https://github.com/oracle/node-oracledb/blob/master/INSTALL.md#instwin"}}