Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install on windows 7 #167

Closed
dodozhang21 opened this issue Apr 3, 2014 · 3 comments
Closed

Cannot install on windows 7 #167

dodozhang21 opened this issue Apr 3, 2014 · 3 comments

Comments

@dodozhang21
Copy link

I followed your https://github.com/joeferner/node-oracle/blob/master/INSTALL.md

But I'm unable to install.

Here's the error I'm getting. Any help will be appreciated.

Thanks

npm install oracle
npm http GET https://registry.npmjs.org/oracle
npm http 304 https://registry.npmjs.org/oracle

oracle@0.3.6 install D:\CQ\cq-bhg\core\src\main\scripts\nodejs\node_modules\oracle
node-gyp rebuild

D:\CQ\cq-bhg\core\src\main\scripts\nodejs\node_modules\oracle>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack at errnoException (child_process.js:980:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:771:34)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\CQ\cq-bhg\core\src\main\scripts\nodejs\node_modules\oracle
gyp ERR! node -v v0.10.24
gyp ERR! node-gyp -v v0.12.1
gyp ERR! not ok
npm ERR! oracle@0.3.6 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the oracle@0.3.6 install script.
npm ERR! This is most likely a problem with the oracle package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls oracle
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "oracle"
npm ERR! cwd D:\CQ\cq-bhg\core\src\main\scripts\nodejs
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! D:\CQ\cq-bhg\core\src\main\scripts\nodejs\npm-debug.log
npm ERR! not ok code 0

https://cloud.githubusercontent.com/assets/646064/2608841/652c33d0-bb6f-11e3-926b-531666c5dd9b.png

@kontrafiktion
Copy link
Contributor

Probably caused by not having Python on the PATH. See

nodejs/node-gyp#277

or a problem with your Visual Studio

http://stackoverflow.com/questions/16833655/node-gyp-troubles-with-installation

or you might have mixed 32/64 Bit Node.js and Instantclient

@dodozhang21
Copy link
Author

Hi I don't have visual studio. I tried to install GCC but I'm not completely sure how to do that. Is there a way you could provide some details for those who don't have visual studio on windows? I will check to make sure PYTHON is on my path.

Thanks

@johannish
Copy link
Collaborator

Your best bet for GCC on windows is MinGW or Cygwin, neither of which is going to be a smooth path. The only sane way to compile on Windows if you're not well versed in compiler toolchains is to download Visual Studio Express (it's free). However, installing this driver on Windows is probably not very sane. I recommend running Linux within Virtualbox.

I'm closing this now as it's not an issue with this driver. Feel free to continue to comment here for anyone willing to provide support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants