node-ibm_db: Error in installing ibm_db
Hello all, Currently i am working on nodejs. My O.S. & nodejs details are—> O.S.–> Windows 10, X64 Nodejs --> 11.11.0 node-gyp–> 3.3.1 I have to run one piece of code from github., but getting error.Here i will mention 2 errors–>
- By running “npm start”
- By running “npm install ibm_db”
1st error by running"npm start"----------------------------------------->
Error: The specified procedure could not be found.
\?\C:\RTC_Code\rtc\node_modules\ibm_db\build\Release\odbc_bindings.node
at Object.Module._extensions…node (internal/modules/cjs/loader.js:840:18)
at Module.load (C:\RTC_Code\rtc\node_modules\coffee-script\lib\coffee-scrip\register.js:45:36)
at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
at Function.Module._load (internal/modules/cjs/loader.js:598:3)
at Module.require (internal/modules/cjs/loader.js:705:19)
at require (internal/modules/cjs/helpers.js:14:16)
at bindings (C:\RTC_Code\rtc\node_modules\bindings\bindings.js:112:48)
at Object.<anonymous> (C:\RTC_Code\rtc\node_modules\ibm_db\lib\odbc.js:31:31)
at Module._compile (internal/modules/cjs/loader.js:799:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:810:10)
at Module.load (C:\RTC_Code\rtc\node_modules\coffee-script\lib\coffee-scrip\register.js:45:36)
at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
at Function.Module._load (internal/modules/cjs/loader.js:598:3)
at Module.require (internal/modules/cjs/loader.js:705:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object.<anonymous> (C:\RTC_Code\rtc\routes\bl\scope.js:1:13)
at Module._compile (internal/modules/cjs/loader.js:799:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:810:10)
at Module.load (C:\RTC_Code\rtc\node_modules\coffee-script\lib\coffee-scrip\register.js:45:36)
at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
at Function.Module._load (internal/modules/cjs/loader.js:598:3)
at Module.require (internal/modules/cjs/loader.js:705:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object.<anonymous> (C:\RTC_Code\rtc\routes\ui\rtc.js:18:10)
at Module._compile (internal/modules/cjs/loader.js:799:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:810:10)
at Module.load (internal/modules/cjs/loader.js:666:32)
at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
at Function.Module._load (internal/modules/cjs/loader.js:598:3)
at Module.require (internal/modules/cjs/loader.js:705:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object.<anonymous> (C:\RTC_Code\rtc\app.js:11:23)
at Module._compile (internal/modules/cjs/loader.js:799:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:810:10)
at Module.load (internal/modules/cjs/loader.js:666:32)
at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
at Function.Module._load (internal/modules/cjs/loader.js:598:3)
at Module.require (internal/modules/cjs/loader.js:705:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object.<anonymous> (C:\RTC_Code\rtc\bin\www:7:11)
at Module._compile (internal/modules/cjs/loader.js:799:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:810:10)
at Module.load (internal/modules/cjs/loader.js:666:32)
at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
at Function.Module._load (internal/modules/cjs/loader.js:598:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:862:12)
at internal/main/run_main_module.js:21:11
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! scheduler@0.8.0 start: node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the scheduler@0.8.0 start 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\AnkitaPalekar\AppData\Roaming\npm-cache_logs\2019-04-01T17_54_47_807Z-debug.log
2nd error when i run “npm install ibm_db”----------------------------------------------------> { Error: Command failed: msbuild /clp:Verbosity=minimal /nologo /p:Configuration=Release;Platform=x64 “C:\RTC_Code\rtc\node_modules\ibm_db\build\binding.sln” ‘msbuild’ is not recognized as an internal or external command, operable program or batch file.
at ChildProcess.exithandler (child_process.js:297:12)
at ChildProcess.emit (events.js:197:13)
at maybeClose (internal/child_process.js:984:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
killed: false, code: 1, signal: null, cmd: ‘msbuild /clp:Verbosity=minimal /nologo /p:Configuration=Release;Platform=x64 “C:\RTC_Code\rtc\node_modules\ibm_db\build\binding.sln”’ }
msbuild build process failed!
Proceeding with Pre-compiled Binary Installation.
=================================== node-ibm_db installed successfully!
At last it is showing that “node-ibm_db installed successfully!” but I am not getting then why it was showing error when i start the server by giving command “npm start”.
Can anyone please help me to resolve this issue…?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19 (9 by maintainers)
@PriyankaManoharan0 Finally done!!! 😃 Thanks alot Priyanka for your continuous support. Appreciated!!!