Open ivanbag opened 7 years ago
probably need the "build essentials" for your linux as it needs to compile something
Hello Ivanbag, I'm trying too with a iot2040. Getting "illegal instruction" when require('oracledb'); Any success to make it working?
Hello @ivanbag, Any workaround or solution for the issue? I am having the same issue.
hello @ivanbag i have some issue. I.4.2 7 Mar 17:25:03 - [warn] Installation of module node-red-contrib-oracledb failed:
7 Mar 17:25:03 - [warn] ------------------------------------------
7 Mar 17:25:03 - [warn] Error: Command failed: npm.cmd install --save --save-pre
fix="~" --production node-red-contrib-oracledb@0.4.2
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
fail
ed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\
npm\node_modules\node-gyp\lib\build.js:276: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_proces
s.js:215:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodej
s\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Administrator.node-red\node_modules\oracledb
gyp ERR! node -v v6.11.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js" "install" "--save" "--save-prefix=\"~\"" "--
production" "node-red-contrib-oracledb@0.4.2"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
Please, anyone found a solution for this issue ?
Check the Internet Connection, and the DNS server
npm-debug.zip
Hello, I have this problem during installation: ` npm ERR! Linux 4.4.18-yocto-standard npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "node-red-contrib-oracledb" npm ERR! node v6.9.2 npm ERR! npm v3.10.9 npm ERR! code ELIFECYCLE
npm ERR! oracledb@1.13.1 install:
node-gyp rebuild
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the oracledb@1.13.1 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the oracledb 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 information on how to open an issue for this project with: npm ERR! npm bugs oracledb npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls oracledb npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /usr/lib/node_modules/npm-debug.log npm ERR! code 1 root@iot2000:/usr/lib/node_modules# `
npm-debug.zip
Thanks, regards