Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indapublic/37d059042cc7b676ca0c2d548656e80f to your computer and use it in GitHub Desktop.
Save indapublic/37d059042cc7b676ca0c2d548656e80f to your computer and use it in GitHub Desktop.
npm install oracledb --verbose
npm info it worked if it ends with ok
npm verb cli [ '/root/.nvm/versions/node/v7.8.0/bin/node',
npm verb cli '/root/.nvm/versions/node/v7.8.0/bin/npm',
npm verb cli 'install',
npm verb cli 'oracledb',
npm verb cli '--verbose' ]
npm info using npm@4.2.0
npm info using node@v7.8.0
npm verb request uri https://registry.npmjs.org/oracledb
npm verb request no auth needed
npm info attempt registry request try #1 at 10:07:08 PM
npm verb request id 3314d60a85a348ad
npm verb etag W/"58ca1f5b-acaa"
npm verb lastModified Thu, 16 Mar 2017 05:15:07 GMT
npm http request GET https://registry.npmjs.org/oracledb
npm http 304 https://registry.npmjs.org/oracledb
npm verb headers { date: 'Tue, 04 Apr 2017 02:07:08 GMT',
npm verb headers via: '1.1 varnish',
npm verb headers 'cache-control': 'max-age=300',
npm verb headers etag: 'W/"58ca1f5b-acaa"',
npm verb headers age: '25',
npm verb headers connection: 'keep-alive',
npm verb headers 'x-served-by': 'cache-nrt6128-NRT',
npm verb headers 'x-cache': 'HIT',
npm verb headers 'x-cache-hits': '1',
npm verb headers 'x-timer': 'S1491271628.492474,VS0,VE0',
npm verb headers vary: 'Accept-Encoding' }
npm verb etag https://registry.npmjs.org/oracledb from cache
npm verb get saving oracledb to /root/.npm/registry.npmjs.org/oracledb/.cache.json
npm verb correctMkdir /root/.npm correctMkdir not in flight; initializing
npm verb cache add spec oracledb
npm verb addNamed "latest" is being treated as a dist-tag for oracledb
npm info addNameTag [ 'oracledb', 'latest' ]
npm verb addNameTag registry:https://registry.npmjs.org/oracledb not in flight; fetching
npm verb get https://registry.npmjs.org/oracledb not expired, no request
npm verb addNamed "1.13.0" is a plain semver version for oracledb
npm verb afterAdd /root/.npm/oracledb/1.13.0/package/package.json not in flight; writing
npm verb correctMkdir /root/.npm correctMkdir not in flight; initializing
npm verb afterAdd /root/.npm/oracledb/1.13.0/package/package.json written
npm verb request uri https://registry.npmjs.org/nan
npm verb request no auth needed
npm info attempt registry request try #1 at 10:07:08 PM
npm verb etag W/"58dea142-1df90"
npm verb lastModified Fri, 31 Mar 2017 18:34:42 GMT
npm http request GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/nan
npm verb headers { date: 'Tue, 04 Apr 2017 02:07:08 GMT',
npm verb headers via: '1.1 varnish',
npm verb headers 'cache-control': 'max-age=300',
npm verb headers etag: 'W/"58dea142-1df90"',
npm verb headers age: '19',
npm verb headers connection: 'keep-alive',
npm verb headers 'x-served-by': 'cache-nrt6128-NRT',
npm verb headers 'x-cache': 'HIT',
npm verb headers 'x-cache-hits': '1',
npm verb headers 'x-timer': 'S1491271628.710436,VS0,VE0',
npm verb headers vary: 'Accept-Encoding' }
npm verb etag https://registry.npmjs.org/nan from cache
npm verb get saving nan to /root/.npm/registry.npmjs.org/nan/.cache.json
npm verb correctMkdir /root/.npm correctMkdir not in flight; initializing
npm verb cache add spec nan@~2.5.0
npm verb addNamed ">=2.5.0 <2.6.0" is a valid semver range for nan
npm verb addNameRange registry:https://registry.npmjs.org/nan not in flight; fetching
npm verb get https://registry.npmjs.org/nan not expired, no request
npm verb addNamed "latest" is being treated as a dist-tag for nan
npm info addNameTag [ 'nan', 'latest' ]
npm verb addNameTag registry:https://registry.npmjs.org/nan already in flight; waiting
npm verb addNamed "2.5.1" is a plain semver version for nan
npm verb afterAdd /root/.npm/nan/2.5.1/package/package.json not in flight; writing
npm verb correctMkdir /root/.npm correctMkdir not in flight; initializing
npm verb afterAdd /root/.npm/nan/2.5.1/package/package.json written
npm verb correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /root/.npm/_locks/staging-08463ceb8fd2d012.lock for /tmp/node_modules/.staging
npm verb unbuild node_modules/.staging/nan-e7f0589e
npm verb unbuild node_modules/.staging/oracledb-973e35b9
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/.staging/nan-e7f0589e
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/.staging/oracledb-973e35b9
npm verb tar unpack /root/.npm/nan/2.5.1/package.tgz
npm verb tar unpacking to /tmp/node_modules/.staging/nan-e7f0589e
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/.staging/nan-e7f0589e
npm verb tar unpack /root/.npm/oracledb/1.13.0/package.tgz
npm verb tar unpacking to /tmp/node_modules/.staging/oracledb-973e35b9
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/.staging/oracledb-973e35b9
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/.staging/nan-e7f0589e/node_modules
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/.staging/oracledb-973e35b9/node_modules
npm info lifecycle nan@2.5.1~preinstall: nan@2.5.1
npm info lifecycle oracledb@1.13.0~preinstall: oracledb@1.13.0
npm info linkStuff nan@2.5.1
npm verb linkBins nan@2.5.1
npm verb linkMans nan@2.5.1
npm info linkStuff oracledb@1.13.0
npm verb linkBins oracledb@1.13.0
npm verb linkMans oracledb@1.13.0
npm info lifecycle nan@2.5.1~install: nan@2.5.1
npm info lifecycle oracledb@1.13.0~install: oracledb@1.13.0
> oracledb@1.13.0 install /tmp/node_modules/oracledb
> node-gyp rebuild
sh: node-gyp: command not found
npm verb lifecycle oracledb@1.13.0~install: unsafe-perm in lifecycle false
npm verb lifecycle oracledb@1.13.0~install: PATH: /root/.nvm/versions/node/v7.8.0/lib/node_modules/npm/bin/node-gyp-bin:/tmp/node_modules/oracledb/node_modules/.bin:/tmp/node_modules/.bin:/usr/lib/oracle/instantclient_12_2:/usr/local/sbin:/usr/local/bin:/root/.nvm/versions/node/v7.8.0/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
npm verb lifecycle oracledb@1.13.0~install: CWD: /tmp/node_modules/oracledb
npm info lifecycle oracledb@1.13.0~install: Failed to exec install script
npm verb unlock done using /root/.npm/_locks/staging-08463ceb8fd2d012.lock for /tmp/node_modules/.staging
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/nan
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/nan
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/nan
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/nan
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/nan
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/nan
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/nan
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/nan
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/oracledb
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/oracledb
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/oracledb
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/oracledb
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/oracledb
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/oracledb
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/oracledb
npm verb gentlyRm don't care about contents; nuking /tmp/node_modules/oracledb
npm WARN enoent ENOENT: no such file or directory, open '/tmp/package.json'
npm verb enoent ENOENT: no such file or directory, open '/tmp/package.json'
npm verb enoent This is most likely not a problem with npm itself
npm verb enoent and is related to npm not being able to find a file.
npm verb enoent
npm WARN tmp No description
npm verb
npm verb If you need help, you may report this error at:
npm verb <https://github.com/npm/npm/issues>
npm WARN tmp No repository field.
npm verb
npm verb If you need help, you may report this error at:
npm verb <https://github.com/npm/npm/issues>
npm WARN tmp No README data
npm verb
npm verb If you need help, you may report this error at:
npm verb <https://github.com/npm/npm/issues>
npm WARN tmp No license field.
npm verb
npm verb If you need help, you may report this error at:
npm verb <https://github.com/npm/npm/issues>
npm verb stack Error: oracledb@1.13.0 install: `node-gyp rebuild`
npm verb stack spawn ENOENT
npm verb stack at ChildProcess.<anonymous> (/root/.nvm/versions/node/v7.8.0/lib/node_modules/npm/lib/utils/spawn.js:33:16)
npm verb stack at emitTwo (events.js:106:13)
npm verb stack at ChildProcess.emit (events.js:194:7)
npm verb stack at maybeClose (internal/child_process.js:899:16)
npm verb stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
npm verb pkgid oracledb@1.13.0
npm verb cwd /tmp
npm ERR! Linux 3.10.0-514.el7.x86_64
npm ERR! argv "/root/.nvm/versions/node/v7.8.0/bin/node" "/root/.nvm/versions/node/v7.8.0/bin/npm" "install" "oracledb" "--verbose"
npm ERR! node v7.8.0
npm ERR! npm v4.2.0
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! oracledb@1.13.0 install: `node-gyp rebuild`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the oracledb@1.13.0 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 verb exit [ 1, true ]
npm ERR! Please include the following file with any support request:
npm ERR! /root/.npm/_logs/2017-04-04T02_07_09_378Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment