-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
oracle db installation errors #748
Comments
Refer to the instructions https://github.com/oracle/node-oracledb/blob/v1.13.1/INSTALL.md#instwin Answering the issue template questions would have been helpful so we know what you have done. |
Thanks for the prompt response v6.10.3 What version of node-oracledb are you using? What is the version of your Oracle client (e.g. Instant Client)? How was it installed? Where it is installed? What is the version of Oracle Database? What is your OS and version? windows 7 enterprise What compiler version did you use? For example, with GCC, run gcc --version What environment variables did you set? How exactly did you set them? What exact command caused the problem (e.g. what command did you try to install with)? Who were you logged in as? npm install oracle db error: C:>npm install oracledb
C:\node_modules\oracledb>if not defined npm_config_node_gyp (node "C:\Users\muthotk\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) gyp ERR! build error npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: |
Was there anything in the verbose install output (see the issue logging template for instructions)? Does anything in https://github.com/oracle/node-oracledb/blob/dev-2.0/INSTALL.md#troubleshooting help? (Note this is actually for v2) |
I can see some google hits mentioning 32 vs 64 bit clashes. |
So what I must do to solve this |
Triple-check your build, focussing on architecture (32- v 64-bit). I've not seen the error before, sorry. |
C:.....>npm install oracledb
[email protected] install C:\project\dqf\src\node_modules\oracledb
node-gyp rebuild
C:.....node_modules\oracledb>if not defined npm_config_node_gyp (node "C:\Users..\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
TRACKER : error TRK0002: Failed to execute command: ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\CL.exe" @c:\Users..\AppData\Local\Temp\tmp1088ea37de474c999e0089bebae5f5c4.rsp". The o
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users..\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users..\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\project\dqf\src\node_modules\oracledb
gyp ERR! node -v v6.10.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\muthotk\AppData\Roaming\npm-cache_logs\2017-08-18T15_05_05_483Z-debug.log
//Can anyone help me out
The text was updated successfully, but these errors were encountered: