Skip to content

Instantly share code, notes, and snippets.

@snandam
Created October 23, 2014 15:12
Show Gist options
  • Save snandam/c113a0b882e7fdb5b9f3 to your computer and use it in GitHub Desktop.
Save snandam/c113a0b882e7fdb5b9f3 to your computer and use it in GitHub Desktop.
node and npm upgraded on centos
[] ~ () $ npm install node-stringprep --verbose
npm info it worked if it ends with ok
npm verb cli [ '/usr/local/bin/node',
npm verb cli '/usr/local/bin/npm',
npm verb cli 'install',
npm verb cli 'node-stringprep',
npm verb cli '--verbose' ]
npm info using [email protected]
npm info using [email protected]
npm verb config Skipping project config: /home/nithyans/.npmrc. (matches userconfig)
npm verb cache add [ 'node-stringprep', null ]
npm verb cache add name=undefined spec="node-stringprep" args=["node-stringprep",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'node-stringprep',
npm verb parsed url path: 'node-stringprep',
npm verb parsed url href: 'node-stringprep' }
npm verb lock node-stringprep /home/nithyans/.npm/d7e52d33-node-stringprep.lock
npm verb addNamed [ 'node-stringprep', '' ]
npm verb addNamed [ null, '*' ]
npm verb lock node-stringprep@ /home/nithyans/.npm/c469c25e-node-stringprep.lock
npm verb request where is /node-stringprep
npm verb request registry https://registry.npmjs.org/
npm verb request id 74ade45221ac51f8
npm verb url raw /node-stringprep
npm verb url resolving [ 'https://registry.npmjs.org/', './node-stringprep' ]
npm verb url resolved https://registry.npmjs.org/node-stringprep
npm verb request where is https://registry.npmjs.org/node-stringprep
npm info trying registry request attempt 1 at 08:11:02
npm verb etag "1KEFKP8ZES2EO2TQUN4VFJM8A"
npm http GET https://registry.npmjs.org/node-stringprep
npm http 304 https://registry.npmjs.org/node-stringprep
npm verb etag https://registry.npmjs.org/node-stringprep from cache
npm verb addNamed [ 'node-stringprep', '0.6.2' ]
npm verb addNamed [ '0.6.2', '0.6.2' ]
npm verb lock [email protected] /home/nithyans/.npm/b4833282-node-stringprep-0-6-2.lock
npm info install [email protected] into /home/nithyans
npm info installOne [email protected]
npm verb node_modules/node-stringprep unbuild
npm verb tar unpack /home/nithyans/.npm/node-stringprep/0.6.2/package.tgz
npm verb lock tar:///home/nithyans/node_modules/node-stringprep /home/nithyans/.npm/76c94208-ans-node-modules-node-stringprep.lock
npm verb lock tar:///home/nithyans/.npm/node-stringprep/0.6.2/package.tgz /home/nithyans/.npm/b1d4f1c0-ode-stringprep-0-6-2-package-tgz.lock
npm info preinstall [email protected]
npm verb readDependencies using package.json deps
npm verb readDependencies using package.json deps
npm verb cache add [ 'bindings@~1.1.1', null ]
npm verb cache add name=undefined spec="bindings@~1.1.1" args=["bindings@~1.1.1",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'bindings@~1.1.1',
npm verb parsed url path: 'bindings@~1.1.1',
npm verb parsed url href: 'bindings@~1.1.1' }
npm verb cache add [ 'debug@~2.0.0', null ]
npm verb cache add name=undefined spec="debug@~2.0.0" args=["debug@~2.0.0",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'debug@~2.0.0',
npm verb parsed url path: 'debug@~2.0.0',
npm verb parsed url href: 'debug@~2.0.0' }
npm verb cache add [ 'nan@~1.2.0', null ]
npm verb cache add name=undefined spec="nan@~1.2.0" args=["nan@~1.2.0",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'nan@~1.2.0',
npm verb parsed url path: 'nan@~1.2.0',
npm verb parsed url href: 'nan@~1.2.0' }
npm verb cache add name="bindings" spec="~1.1.1" args=["bindings","~1.1.1"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '~1.1.1',
npm verb parsed url path: '~1.1.1',
npm verb parsed url href: '~1.1.1' }
npm verb addNamed [ 'bindings', '~1.1.1' ]
npm verb addNamed [ null, '>=1.1.1-0 <1.2.0-0' ]
npm verb lock bindings@~1.1.1 /home/nithyans/.npm/cc1512d6-bindings-1-1-1.lock
npm verb cache add name="debug" spec="~2.0.0" args=["debug","~2.0.0"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '~2.0.0',
npm verb parsed url path: '~2.0.0',
npm verb parsed url href: '~2.0.0' }
npm verb addNamed [ 'debug', '~2.0.0' ]
npm verb addNamed [ null, '>=2.0.0-0 <2.1.0-0' ]
npm verb lock debug@~2.0.0 /home/nithyans/.npm/12b6356d-debug-2-0-0.lock
npm verb cache add name="nan" spec="~1.2.0" args=["nan","~1.2.0"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '~1.2.0',
npm verb parsed url path: '~1.2.0',
npm verb parsed url href: '~1.2.0' }
npm verb addNamed [ 'nan', '~1.2.0' ]
npm verb addNamed [ null, '>=1.2.0-0 <1.3.0-0' ]
npm verb lock nan@~1.2.0 /home/nithyans/.npm/6bb36ab7-nan-1-2-0.lock
npm verb request where is /bindings
npm verb request registry https://registry.npmjs.org/
npm verb url raw /bindings
npm verb url resolving [ 'https://registry.npmjs.org/', './bindings' ]
npm verb url resolved https://registry.npmjs.org/bindings
npm verb request where is https://registry.npmjs.org/bindings
npm info trying registry request attempt 1 at 08:11:03
npm verb etag "6SJRISMK25A1UDWM33HHCDB3Q"
npm http GET https://registry.npmjs.org/bindings
npm verb request where is /nan
npm verb request registry https://registry.npmjs.org/
npm verb url raw /nan
npm verb url resolving [ 'https://registry.npmjs.org/', './nan' ]
npm verb url resolved https://registry.npmjs.org/nan
npm verb request where is https://registry.npmjs.org/nan
npm info trying registry request attempt 1 at 08:11:03
npm verb etag "4QHBB3KM0BSFWQGU7N2BM6J49"
npm http GET https://registry.npmjs.org/nan
npm verb request where is /debug
npm verb request registry https://registry.npmjs.org/
npm verb url raw /debug
npm verb url resolving [ 'https://registry.npmjs.org/', './debug' ]
npm verb url resolved https://registry.npmjs.org/debug
npm verb request where is https://registry.npmjs.org/debug
npm info trying registry request attempt 1 at 08:11:03
npm verb etag "8WZ4LMRO7CZCRTRAWRK0Z3M75"
npm http GET https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/nan
npm verb etag https://registry.npmjs.org/nan from cache
npm http 304 https://registry.npmjs.org/bindings
npm verb etag https://registry.npmjs.org/bindings from cache
npm verb addNamed [ 'nan', '1.2.0' ]
npm verb addNamed [ '1.2.0', '1.2.0' ]
npm verb lock [email protected] /home/nithyans/.npm/859d0f28-nan-1-2-0.lock
npm verb addNamed [ 'bindings', '1.1.1' ]
npm verb addNamed [ '1.1.1', '1.1.1' ]
npm verb lock [email protected] /home/nithyans/.npm/52dd60a7-bindings-1-1-1.lock
npm http 304 https://registry.npmjs.org/debug
npm verb etag https://registry.npmjs.org/debug from cache
npm verb addNamed [ 'debug', '2.0.0' ]
npm verb addNamed [ '2.0.0', '2.0.0' ]
npm verb lock [email protected] /home/nithyans/.npm/095bd820-debug-2-0-0.lock
npm info install [email protected] into /home/nithyans/node_modules/node-stringprep
npm info install [email protected] into /home/nithyans/node_modules/node-stringprep
npm info install [email protected] into /home/nithyans/node_modules/node-stringprep
npm info installOne [email protected]
npm info installOne [email protected]
npm info installOne [email protected]
npm verb node_modules/node-stringprep/node_modules/bindings unbuild
npm verb node_modules/node-stringprep/node_modules/nan unbuild
npm verb node_modules/node-stringprep/node_modules/debug unbuild
npm verb tar unpack /home/nithyans/.npm/bindings/1.1.1/package.tgz
npm verb lock tar:///home/nithyans/node_modules/node-stringprep/node_modules/bindings /home/nithyans/.npm/931affd3-stringprep-node-modules-bindings.lock
npm verb lock tar:///home/nithyans/.npm/bindings/1.1.1/package.tgz /home/nithyans/.npm/d60cca74-s-npm-bindings-1-1-1-package-tgz.lock
npm verb tar unpack /home/nithyans/.npm/nan/1.2.0/package.tgz
npm verb lock tar:///home/nithyans/node_modules/node-stringprep/node_modules/nan /home/nithyans/.npm/0407ac03-node-stringprep-node-modules-nan.lock
npm verb lock tar:///home/nithyans/.npm/nan/1.2.0/package.tgz /home/nithyans/.npm/d009e7d1-thyans-npm-nan-1-2-0-package-tgz.lock
npm verb tar unpack /home/nithyans/.npm/debug/2.0.0/package.tgz
npm verb lock tar:///home/nithyans/node_modules/node-stringprep/node_modules/debug /home/nithyans/.npm/43e756cf-de-stringprep-node-modules-debug.lock
npm verb lock tar:///home/nithyans/.npm/debug/2.0.0/package.tgz /home/nithyans/.npm/455283e0-yans-npm-debug-2-0-0-package-tgz.lock
npm info preinstall [email protected]
npm verb readDependencies using package.json deps
npm verb readDependencies using package.json deps
npm verb about to build /home/nithyans/node_modules/node-stringprep/node_modules/bindings
npm info build /home/nithyans/node_modules/node-stringprep/node_modules/bindings
npm verb linkStuff [ false,
npm verb linkStuff false,
npm verb linkStuff false,
npm verb linkStuff '/home/nithyans/node_modules/node-stringprep/node_modules' ]
npm info linkStuff [email protected]
npm verb linkBins [email protected]
npm verb linkMans [email protected]
npm verb rebuildBundles [email protected]
npm info install [email protected]
npm info postinstall [email protected]
npm info preinstall [email protected]
npm verb readDependencies using package.json deps
npm verb readDependencies using package.json deps
npm verb cache add [ '[email protected]', null ]
npm verb cache add name=undefined spec="[email protected]" args=["[email protected]",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '[email protected]',
npm verb parsed url path: '[email protected]',
npm verb parsed url href: '[email protected]' }
npm verb cache add name="ms" spec="0.6.2" args=["ms","0.6.2"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '0.6.2',
npm verb parsed url path: '0.6.2',
npm verb parsed url href: '0.6.2' }
npm verb addNamed [ 'ms', '0.6.2' ]
npm verb addNamed [ '0.6.2', '0.6.2' ]
npm verb lock [email protected] /home/nithyans/.npm/549cc243-ms-0-6-2.lock
npm verb request where is /ms
npm verb request registry https://registry.npmjs.org/
npm verb url raw /ms
npm verb url resolving [ 'https://registry.npmjs.org/', './ms' ]
npm verb url resolved https://registry.npmjs.org/ms
npm verb request where is https://registry.npmjs.org/ms
npm info trying registry request attempt 1 at 08:11:03
npm verb etag "50ILYWEBXP6E5QVEWGQK2AK2K"
npm http GET https://registry.npmjs.org/ms
npm info preinstall [email protected]
npm verb readDependencies using package.json deps
npm verb readDependencies using package.json deps
npm verb about to build /home/nithyans/node_modules/node-stringprep/node_modules/nan
npm info build /home/nithyans/node_modules/node-stringprep/node_modules/nan
npm verb linkStuff [ false,
npm verb linkStuff false,
npm verb linkStuff false,
npm verb linkStuff '/home/nithyans/node_modules/node-stringprep/node_modules' ]
npm info linkStuff [email protected]
npm verb linkBins [email protected]
npm verb linkMans [email protected]
npm verb rebuildBundles [email protected]
npm info install [email protected]
npm info postinstall [email protected]
npm http 304 https://registry.npmjs.org/ms
npm verb etag https://registry.npmjs.org/ms from cache
npm info install [email protected] into /home/nithyans/node_modules/node-stringprep/node_modules/debug
npm info installOne [email protected]
npm verb node_modules/node-stringprep/node_modules/debug/node_modules/ms unbuild
npm verb tar unpack /home/nithyans/.npm/ms/0.6.2/package.tgz
npm verb lock tar:///home/nithyans/node_modules/node-stringprep/node_modules/debug/node_modules/ms /home/nithyans/.npm/b8fcf95b-de-modules-debug-node-modules-ms.lock
npm verb lock tar:///home/nithyans/.npm/ms/0.6.2/package.tgz /home/nithyans/.npm/ff0666b2-ithyans-npm-ms-0-6-2-package-tgz.lock
npm info preinstall [email protected]
npm verb readDependencies using package.json deps
npm verb readDependencies using package.json deps
npm verb about to build /home/nithyans/node_modules/node-stringprep/node_modules/debug/node_modules/ms
npm info build /home/nithyans/node_modules/node-stringprep/node_modules/debug/node_modules/ms
npm verb linkStuff [ false,
npm verb linkStuff false,
npm verb linkStuff false,
npm verb linkStuff '/home/nithyans/node_modules/node-stringprep/node_modules/debug/node_modules' ]
npm info linkStuff [email protected]
npm verb linkBins [email protected]
npm verb linkMans [email protected]
npm verb rebuildBundles [email protected]
npm info install [email protected]
npm info postinstall [email protected]
npm verb about to build /home/nithyans/node_modules/node-stringprep/node_modules/debug
npm info build /home/nithyans/node_modules/node-stringprep/node_modules/debug
npm verb linkStuff [ false,
npm verb linkStuff false,
npm verb linkStuff false,
npm verb linkStuff '/home/nithyans/node_modules/node-stringprep/node_modules' ]
npm info linkStuff [email protected]
npm verb linkBins [email protected]
npm verb linkMans [email protected]
npm verb rebuildBundles [email protected]
npm verb rebuildBundles [ 'ms' ]
npm info install [email protected]
npm info postinstall [email protected]
npm verb about to build /home/nithyans/node_modules/node-stringprep
npm info build /home/nithyans/node_modules/node-stringprep
npm verb linkStuff [ false, false, false, '/home/nithyans/node_modules' ]
npm info linkStuff [email protected]
npm verb linkBins [email protected]
npm verb linkMans [email protected]
npm verb rebuildBundles [email protected]
npm verb rebuildBundles [ 'bindings', 'debug', 'nan' ]
npm info install [email protected]
> [email protected] install /home/nithyans/node_modules/node-stringprep
> node-gyp rebuild
gyp info it worked if it ends with ok
gyp verb cli [ 'node',
gyp verb cli '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
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 `python -c "import platform; print(platform.python_version());"` returned: "2.6.6\n"
gyp verb get node dir no --target version specified, falling back to host node version: v0.10.32
gyp verb command install [ 'v0.10.32' ]
gyp verb install input version string "v0.10.32"
gyp verb install installing version: 0.10.32
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: 0.10.32
gyp verb build dir attempting to create "build" dir: /home/nithyans/node_modules/node-stringprep/build
gyp verb build dir "build" dir needed to be created? /home/nithyans/node_modules/node-stringprep/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /home/nithyans/node_modules/node-stringprep/build/config.gypi
gyp verb config.gypi checking for gypi file: /home/nithyans/node_modules/node-stringprep/config.gypi
gyp verb common.gypi checking for gypi file: /home/nithyans/node_modules/node-stringprep/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn python
gyp info spawn args [ '/usr/local/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 '/home/nithyans/node_modules/node-stringprep/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/nithyans/.node-gyp/0.10.32/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/nithyans/.node-gyp/0.10.32',
gyp info spawn args '-Dmodule_root_dir=/home/nithyans/node_modules/node-stringprep',
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=.' ]
which: no icu-config in (/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/home/nithyans/node_modules/node-stringprep/node_modules/.bin:/home/nithyans/node_modules/.bin:/usr/local/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/var/cfengine/bin:/home/nithyans/bin)
gyp: Call to 'which icu-config > /dev/null || echo n' returned exit status 0. 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 (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Linux 2.6.32-220.el6.x86_64
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/nithyans/node_modules/node-stringprep
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm verb unsafe-perm in lifecycle true
npm info [email protected] Failed to exec install script
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the node-stringprep 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 their info via:
npm ERR! npm owner ls node-stringprep
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.32-220.el6.x86_64
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "node-stringprep" "--verbose"
npm ERR! cwd /home/nithyans
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm verb exit [ 1, true ]
npm verb node_modules/node-stringprep unbuild
npm info preuninstall [email protected]
npm info uninstall [email protected]
npm verb true,/home/nithyans/node_modules,/home/nithyans/node_modules unbuild [email protected]
npm info postuninstall [email protected]
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment