{"action":"closed","issue":{"url":"https://api.github.com/repos/oracle/node-oracledb/issues/875","repository_url":"https://api.github.com/repos/oracle/node-oracledb","labels_url":"https://api.github.com/repos/oracle/node-oracledb/issues/875/labels{/name}","comments_url":"https://api.github.com/repos/oracle/node-oracledb/issues/875/comments","events_url":"https://api.github.com/repos/oracle/node-oracledb/issues/875/events","html_url":"https://github.com/oracle/node-oracledb/issues/875","id":302756748,"number":875,"title":"Issue- how to override url for prebuilt binaries","user":{"login":"danilohgds","id":12349622,"avatar_url":"https://avatars3.githubusercontent.com/u/12349622?v=4","gravatar_id":"","url":"https://api.github.com/users/danilohgds","html_url":"https://github.com/danilohgds","followers_url":"https://api.github.com/users/danilohgds/followers","following_url":"https://api.github.com/users/danilohgds/following{/other_user}","gists_url":"https://api.github.com/users/danilohgds/gists{/gist_id}","starred_url":"https://api.github.com/users/danilohgds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danilohgds/subscriptions","organizations_url":"https://api.github.com/users/danilohgds/orgs","repos_url":"https://api.github.com/users/danilohgds/repos","events_url":"https://api.github.com/users/danilohgds/events{/privacy}","received_events_url":"https://api.github.com/users/danilohgds/received_events","type":"User","site_admin":false},"labels":[{"id":253930243,"url":"https://api.github.com/repos/oracle/node-oracledb/labels/install%20&%20configuration","name":"install & configuration","color":"fad8c7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-06T15:53:49Z","updated_at":"2018-03-27T03:15:08Z","closed_at":"2018-03-27T03:15:08Z","author_association":"NONE","body":"1. What is your Node.js version?  Is it 64-bit or 32-bit?  Run `version.js` from https://github.com/oracle/node-oracledb/blob/master/examples/version.js **6.9.5**\r\n\r\n2. What is your node-oracledb version? **2.12**\r\n\r\n3. What is your Oracle client (e.g. Instant Client) version?  Is it 64-bit or 32-bit?  How was it installed?  Where is it installed? **64bit, via linux curl packages**\r\n\r\n4. What is your Oracle Database version? **Oracle 12 C**\r\n\r\n5. What is your OS and version? **Linux 3.10.0-327.59.1.el7.x86_64**\r\n\r\n6. What is your compiler version?  For example, with GCC, run `gcc --version`\r\n\r\n7. What Oracle environment variables did you set?  How *exactly* did you set them?\r\n\r\n8. What is the `PATH` environment variable (on Windows) or `LD_LIBRARY_PATH` (on Linux) set to?  On macOS, what is in `~/lib`?\r\n\r\n9. 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 in build process.\r\n\r\n10. What error(s) you are seeing?\r\n\r\n> \r\n> This is what I get in the log : 41858 verbose lifecycle oracledb@2.1.2~install: unsafe-perm in lifecycle true\r\n> 41859 verbose lifecycle oracledb@2.1.2~install: PATH: /opt/tools/node-v6.4.0-linux-x64/lib/node_modules/npm-3.10.7/package/bin/node-gyp-bin:/jenkins_data/workspace/NOD6-BR-SNT-PVD-Backend-Service/node_modules/oracledb/node_modules/.bin:/jenkins_data/workspace/NOD6-BR-SNT-PVD-Backend-Service/node_modules/.bin:/usr/local/sonar-scanner-2.6.1/bin:/opt/tools/apache-maven-3.3.9/bin:/opt/tools/node-v6.4.0-linux-x64/bin:/usr/java/jdk1.8.0_92/bin:/bin:/opt/oracle/instantclient:/opt/tools/fortify-17.10/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\r\n> 41860 verbose lifecycle oracledb@2.1.2~install: CWD: /jenkins_data/workspace/NOD6-BR-SNT-PVD-Backend-Service/node_modules/oracledb\r\n> 41861 silly lifecycle oracledb@2.1.2~install: Args: [ '-c', 'node package/oracledbinstall.js' ]\r\n> 41862 silly lifecycle oracledb@2.1.2~install: Returned: code: 87  signal: null\r\n> 41863 info lifecycle oracledb@2.1.2~install: Failed to exec install script\r\n> 41864 verbose unlock done using /home/jenkins/.npm/_locks/staging-2687ed4285feaf98.lock for /jenkins_data/workspace/NOD6-BR-SNT-PVD-Backend-Service/node_modules/.staging\r\n> 41865 silly rollbackFailedOptional Starting\r\n> 41866 silly rollbackFailedOptional Finishing\r\n> 41867 silly runTopLevelLifecycles Finishing\r\n> 41868 silly install printInstalled\r\n> 41869 warn optional Skipping failed optional dependency /chokidar/fsevents:\r\n> 41870 warn notsup Not compatible with your operating system or architecture: fsevents@1.1.3\r\n> 41871 warn backend-svc@1.0.0 No repository field.\r\n> 41872 verbose stack Error: oracledb@2.1.2 install: `node package/oracledbinstall.js`\r\n> 41872 verbose stack Exit status 87\r\n> 41872 verbose stack     at EventEmitter.<anonymous> (/opt/tools/node-v6.4.0-linux-x64/lib/node_modules/npm-3.10.7/package/lib/utils/lifecycle.js:255:16)\r\n> 41872 verbose stack     at emitTwo (events.js:106:13)\r\n> 41872 verbose stack     at EventEmitter.emit (events.js:191:7)\r\n> 41872 verbose stack     at ChildProcess.<anonymous> (/opt/tools/node-v6.4.0-linux-x64/lib/node_modules/npm-3.10.7/package/lib/utils/spawn.js:40:14)\r\n> 41872 verbose stack     at emitTwo (events.js:106:13)\r\n> 41872 verbose stack     at ChildProcess.emit (events.js:191:7)\r\n> 41872 verbose stack     at maybeClose (internal/child_process.js:852:16)\r\n> 41872 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)\r\n> 41873 verbose pkgid oracledb@2.1.2\r\n> 41874 verbose cwd /jenkins_data/workspace/NOD6-BR-SNT-PVD-Backend-Service\r\n> 41875 error Linux 3.10.0-327.59.1.el7.x86_64\r\n> 41876 error argv \"/opt/tools/node-v6.4.0-linux-x64/bin/node\" \"/opt/tools/node-v6.4.0-linux-x64/bin/npm\" \"install\"\r\n> 41877 error node v6.4.0\r\n> 41878 error npm  v3.10.7\r\n> 41879 error code ELIFECYCLE\r\n> 41880 error oracledb@2.1.2 install: `node package/oracledbinstall.js`\r\n> 41880 error Exit status 87\r\n> 41881 error Failed at the oracledb@2.1.2 install script 'node package/oracledbinstall.js'.\r\n> 41881 error Make sure you have the latest version of node.js and npm installed.\r\n> 41881 error If you do, this is most likely a problem with the oracledb package,\r\n> 41881 error not with npm itself.\r\n> 41881 error Tell the author that this fails on your system:\r\n> 41881 error     node package/oracledbinstall.js\r\n> 41881 error You can get information on how to open an issue for this project with:\r\n> 41881 error     npm bugs oracledb\r\n> 41881 error Or if that isn't available, you can get their info via:\r\n> 41881 error     npm owner ls oracledb\r\n> 41881 error There is likely additional logging output above.\r\n> 41882 verbose exit [ 1, true ]\r\n> \r\n\r\nAre there any ways to override the hostnames in oracledbinstall.js to use a personal repo and avoid 403"}}
{"actor":{"display_login":"cjbj"}}