Skip to content

Instantly share code, notes, and snippets.

@afirdousi
Created June 3, 2017 09:34
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 afirdousi/eed04812eb85bc19cbbf347dcff569a4 to your computer and use it in GitHub Desktop.
Save afirdousi/eed04812eb85bc19cbbf347dcff569a4 to your computer and use it in GitHub Desktop.
npm info it worked if it ends with ok
npm verb cli [ '/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/bin/node',
npm verb cli '/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/bin/npm',
npm verb cli 'install',
npm verb cli '--verbose',
npm verb cli 'oracledb' ]
npm info using npm@3.10.10
npm info using node@v6.10.2
npm verb request uri https://registry.npmjs.org/oracledb
npm verb request always-auth set; sending authorization
npm info attempt registry request try #1 at 2:31:54 AM
npm verb request using bearer token for auth
npm verb request id 6e87df625f9545c6
npm verb etag W/"58ed84b9-b2fe"
npm verb lastModified Wed, 12 Apr 2017 01:36:57 GMT
npm http request GET https://registry.npmjs.org/oracledb
npm http 304 https://registry.npmjs.org/oracledb
npm verb headers { server: 'nginx/1.10.3',
npm verb headers 'last-modified': 'Wed, 12 Apr 2017 01:36:57 GMT',
npm verb headers etag: '"58ed84b9-b2fe"',
npm verb headers 'cache-control': 'max-age=300',
npm verb headers 'accept-ranges': 'bytes',
npm verb headers date: 'Sat, 03 Jun 2017 09:31:54 GMT',
npm verb headers via: '1.1 varnish',
npm verb headers connection: 'keep-alive',
npm verb headers 'x-served-by': 'cache-sjc3623-SJC',
npm verb headers 'x-cache': 'MISS',
npm verb headers 'x-cache-hits': '0',
npm verb headers 'x-timer': 'S1496482315.851118,VS0,VE86',
npm verb headers vary: 'Accept-Encoding' }
npm verb etag https://registry.npmjs.org/oracledb from cache
npm verb get saving oracledb to /Users/anasrazafirdousi/.npm/registry.npmjs.org/oracledb/.cache.json
npm verb correctMkdir /Users/anasrazafirdousi/.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.1" is a plain semver version for oracledb
npm verb afterAdd /Users/anasrazafirdousi/.npm/oracledb/1.13.1/package/package.json not in flight; writing
npm verb correctMkdir /Users/anasrazafirdousi/.npm correctMkdir not in flight; initializing
npm verb afterAdd /Users/anasrazafirdousi/.npm/oracledb/1.13.1/package/package.json written
npm verb request uri https://registry.npmjs.org/nan
npm verb request always-auth set; sending authorization
npm info attempt registry request try #1 at 2:31:55 AM
npm verb request using bearer token for auth
npm verb etag W/"592dfb8f-1f9f8"
npm verb lastModified Tue, 30 May 2017 23:09:03 GMT
npm http request GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/nan
npm verb headers { server: 'nginx/1.10.1',
npm verb headers 'last-modified': 'Tue, 30 May 2017 23:09:03 GMT',
npm verb headers etag: '"592dfb8f-1f9f8"',
npm verb headers 'cache-control': 'max-age=300',
npm verb headers 'accept-ranges': 'bytes',
npm verb headers date: 'Sat, 03 Jun 2017 09:31:55 GMT',
npm verb headers via: '1.1 varnish',
npm verb headers connection: 'keep-alive',
npm verb headers 'x-served-by': 'cache-sjc3623-SJC',
npm verb headers 'x-cache': 'MISS',
npm verb headers 'x-cache-hits': '0',
npm verb headers 'x-timer': 'S1496482316.821513,VS0,VE80',
npm verb headers vary: 'Accept-Encoding' }
npm verb etag https://registry.npmjs.org/nan from cache
npm verb get saving nan to /Users/anasrazafirdousi/.npm/registry.npmjs.org/nan/.cache.json
npm verb correctMkdir /Users/anasrazafirdousi/.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 "2.5.1" is a plain semver version for nan
npm verb afterAdd /Users/anasrazafirdousi/.npm/nan/2.5.1/package/package.json not in flight; writing
npm verb correctMkdir /Users/anasrazafirdousi/.npm correctMkdir not in flight; initializing
npm verb afterAdd /Users/anasrazafirdousi/.npm/nan/2.5.1/package/package.json written
npm verb correctMkdir /Users/anasrazafirdousi/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /Users/anasrazafirdousi/.npm/_locks/staging-69dbe8b878c2f7c7.lock for /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/.staging
npm verb unbuild node_modules/.staging/nan-0a0c7241
npm verb unbuild node_modules/.staging/oracledb-9a3bf7e9
npm verb gentlyRm don't care about contents; nuking /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/.staging/nan-0a0c7241
npm verb gentlyRm don't care about contents; nuking /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/.staging/oracledb-9a3bf7e9
npm verb tar unpack /Users/anasrazafirdousi/.npm/nan/2.5.1/package.tgz
npm verb tar unpacking to /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/.staging/nan-0a0c7241
npm verb gentlyRm don't care about contents; nuking /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/.staging/nan-0a0c7241
npm verb tar unpack /Users/anasrazafirdousi/.npm/oracledb/1.13.1/package.tgz
npm verb tar unpacking to /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/.staging/oracledb-9a3bf7e9
npm verb gentlyRm don't care about contents; nuking /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/.staging/oracledb-9a3bf7e9
npm verb gentlyRm don't care about contents; nuking /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/.staging/nan-0a0c7241/node_modules
npm verb gentlyRm don't care about contents; nuking /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/.staging/oracledb-9a3bf7e9/node_modules
npm info lifecycle nan@2.5.1~preinstall: nan@2.5.1
npm info lifecycle oracledb@1.13.1~preinstall: oracledb@1.13.1
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.1
npm verb linkBins oracledb@1.13.1
npm verb linkMans oracledb@1.13.1
npm info lifecycle nan@2.5.1~install: nan@2.5.1
npm info lifecycle oracledb@1.13.1~install: oracledb@1.13.1
> oracledb@1.13.1 install /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/oracledb
> node-gyp rebuild
gyp info it worked if it ends with ok
gyp verb cli [ '/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/bin/node',
gyp verb cli '/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using node-gyp@3.4.0
gyp info using node@6.10.2 | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/which/which.js:14:12)
gyp verb `which` failed at F (/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/which/which.js:69:19)
gyp verb `which` failed at E (/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/which/which.js:81:29)
gyp verb `which` failed at /Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/which/which.js:90:16
gyp verb `which` failed at /Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp verb `which` failed at /Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:123:15)
gyp verb `which` failed python2 { Error: not found: python2
gyp verb `which` failed at getNotFoundError (/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/which/which.js:14:12)
gyp verb `which` failed at F (/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/which/which.js:69:19)
gyp verb `which` failed at E (/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/which/which.js:81:29)
gyp verb `which` failed at /Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/which/which.js:90:16
gyp verb `which` failed at /Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp verb `which` failed at /Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python /usr/bin/python
gyp verb check python version `/usr/bin/python -c "import platform; print(platform.python_version());"` returned: "2.7.10\n"
gyp verb get node dir no --target version specified, falling back to host node version: 6.10.2
gyp verb command install [ '6.10.2' ]
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp verb install input version string "6.10.2"
gyp verb install installing version: 6.10.2
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 6.10.2
gyp verb build dir attempting to create "build" dir: /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/oracledb/build
gyp verb build dir "build" dir needed to be created? /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/oracledb/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/oracledb/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/oracledb/config.gypi
gyp verb common.gypi checking for gypi file: /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/oracledb/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python
gyp info spawn args [ '/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/oracledb/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/anasrazafirdousi/.node-gyp/6.10.2/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/anasrazafirdousi/.node-gyp/6.10.2',
gyp info spawn args '-Dnode_gyp_dir=/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/oracledb',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
node-oracledb ERR! Error: Cannot find /opt/oracle/instantclient/libclntsh.dylib
node-oracledb ERR! Error: Do you need to run 'cd /opt/oracle/instantclient && ln -s libclntsh.dylib.* libclntsh.dylib'?
node-oracledb ERR! Error: See https://github.com/oracle/node-oracledb/blob/master/INSTALL.md#instosx
gyp: Call to 'INSTURL="https://github.com/oracle/node-oracledb/blob/master/INSTALL.md#instosx"; ERR="node-oracledb ERR! Error:"; if [ -z $OCI_LIB_DIR ]; then if [ -f /opt/oracle/instantclient/libclntsh.dylib ]; then echo "/opt/oracle/instantclient/"; else echo "$ERR Cannot find /opt/oracle/instantclient/libclntsh.dylib" >&2; echo "$ERR Do you need to run 'cd /opt/oracle/instantclient && ln -s libclntsh.dylib.* libclntsh.dylib'?" >&2; echo "$ERR See $INSTURL" >&2; echo "" >&2; fi; else if [ -f "$OCI_LIB_DIR/libclntsh.dylib" ]; then echo $OCI_LIB_DIR; else echo "$ERR Cannot find \$OCI_LIB_DIR/libclntsh.dylib" >&2; echo "$ERR Do you need to run 'cd \$OCI_LIB_DIR && ln -s libclntsh.dylib.* libclntsh.dylib'?" >&2; echo "$ERR See $INSTURL" >&2; echo "" >&2; fi; fi;' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
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 Darwin 15.6.0
gyp ERR! command "/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/bin/node" "/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/oracledb
gyp ERR! node -v v6.10.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm verb lifecycle oracledb@1.13.1~install: unsafe-perm in lifecycle true
npm verb lifecycle oracledb@1.13.1~install: PATH: /Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/bin/node-gyp-bin:/Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/oracledb/node_modules/.bin:/Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/.bin:/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/bin:/bin:/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/bin:/usr/local/apache-maven-3.3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
npm verb lifecycle oracledb@1.13.1~install: CWD: /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/oracledb
npm info lifecycle oracledb@1.13.1~install: Failed to exec install script
npm verb unlock done using /Users/anasrazafirdousi/.npm/_locks/staging-69dbe8b878c2f7c7.lock for /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/node_modules/.staging
npm verb stack Error: oracledb@1.13.1 install: `node-gyp rebuild`
npm verb stack Exit status 1
npm verb stack at EventEmitter.<anonymous> (/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
npm verb stack at emitTwo (events.js:106:13)
npm verb stack at EventEmitter.emit (events.js:191:7)
npm verb stack at ChildProcess.<anonymous> (/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/lib/node_modules/npm/lib/utils/spawn.js:40:14)
npm verb stack at emitTwo (events.js:106:13)
npm verb stack at ChildProcess.emit (events.js:191:7)
npm verb stack at maybeClose (internal/child_process.js:886:16)
npm verb stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
npm verb pkgid oracledb@1.13.1
npm verb cwd /Users/anasrazafirdousi/Documents/workspace/workbench-pro
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/bin/node" "/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/bin/npm" "install" "--verbose" "oracledb"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
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 verb exit [ 1, true ]
npm ERR! Please include the following file with any support request:
npm ERR! /Users/anasrazafirdousi/Documents/workspace/my-dummy-project/npm-debug.log
A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment