Skip to content

Instantly share code, notes, and snippets.

@yelworc
Created January 4, 2019 10:48
Show Gist options
  • Save yelworc/d845a7a1243b42af2baffa9c56ba211d to your computer and use it in GitHub Desktop.
Save yelworc/d845a7a1243b42af2baffa9c56ba211d to your computer and use it in GitHub Desktop.
[email protected] installation error
vagrant@vagrant:~$ npm i -g --verbose verdaccio-bitbucket 10:31AM
npm info it worked if it ends with ok
npm verb cli [ '/home/vagrant/.nvm/versions/node/v10.15.0/bin/node',
npm verb cli '/home/vagrant/.nvm/versions/node/v10.15.0/bin/npm',
npm verb cli 'i',
npm verb cli '-g',
npm verb cli '--verbose',
npm verb cli 'verdaccio-bitbucket' ]
npm info using [email protected]
npm info using [email protected]
npm verb npm-session 74d30a0d325223a8
npm http fetch GET 200 https://registry.npmjs.org/verdaccio-bitbucket 185ms
npm timing stage:loadCurrentTree Completed in 333ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 2ms
npm http fetch GET 200 https://registry.npmjs.org/axios 73ms
npm http fetch GET 200 https://registry.npmjs.org/follow-redirects 64ms
npm http fetch GET 200 https://registry.npmjs.org/is-buffer 96ms
npm http fetch GET 200 https://registry.npmjs.org/debug 77ms
npm http fetch GET 200 https://registry.npmjs.org/debug/-/debug-3.1.0.tgz 51ms
npm http fetch GET 200 https://registry.npmjs.org/ms 65ms
npm http fetch GET 200 https://registry.npmjs.org/ms/-/ms-2.0.0.tgz 37ms
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 477ms
npm timing stage:loadIdealTree Completed in 484ms
npm timing stage:generateActionsToTake Completed in 10ms
npm verb correctMkdir /home/vagrant/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /home/vagrant/.npm/_locks/staging-5c99ffd170c084c1.lock for /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/.staging
npm http fetch GET 200 https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.6.1.tgz 45ms
npm http fetch GET 200 https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz 80ms
npm http fetch GET 200 https://registry.npmjs.org/verdaccio-bitbucket/-/verdaccio-bitbucket-1.0.5.tgz 82ms
npm http fetch GET 200 https://registry.npmjs.org/axios/-/axios-0.18.0.tgz 154ms
npm timing action:extract Completed in 197ms
npm timing action:finalize Completed in 15ms
npm timing action:refresh-package-json Completed in 28ms
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm timing action:preinstall Completed in 9ms
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm timing action:build Completed in 12ms
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm timing action:install Completed in 9ms
npm info lifecycle [email protected]~postinstall: [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
> [email protected] postinstall /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket
> npm run build
npm info it worked if it ends with ok
npm verb cli [ '/home/vagrant/.nvm/versions/node/v10.15.0/bin/node',
npm verb cli '/home/vagrant/.nvm/versions/node/v10.15.0/bin/npm',
npm verb cli 'run',
npm verb cli 'build' ]
npm info using [email protected]
npm info using [email protected]
npm verb run-script [ 'prebuild', 'build', 'postbuild' ]
npm info lifecycle [email protected]~prebuild: [email protected]
> [email protected] prebuild /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket
> npm run clean:build
npm info it worked if it ends with ok
npm verb cli [ '/home/vagrant/.nvm/versions/node/v10.15.0/bin/node',
npm verb cli '/home/vagrant/.nvm/versions/node/v10.15.0/bin/npm',
npm verb cli 'run',
npm verb cli 'clean:build' ]
npm info using [email protected]
npm info using [email protected]
npm verb run-script [ 'preclean:build', 'clean:build', 'postclean:build' ]
npm info lifecycle [email protected]~preclean:build: [email protected]
npm info lifecycle [email protected]~clean:build: [email protected]
> [email protected] clean:build /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket
> rimraf ./lib
sh: 1: rimraf: not found
npm verb lifecycle [email protected]~clean:build: unsafe-perm in lifecycle true
npm verb lifecycle [email protected]~clean:build: PATH: /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket/node_modules/.bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/.bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket/node_modules/.bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/.bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket/node_modules/.bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/.bin:/home/vagrant/.nvm/versions/node/v10.15.0/bin:/home/vagrant/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
npm verb lifecycle [email protected]~clean:build: CWD: /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket
npm info lifecycle [email protected]~clean:build: Failed to exec clean:build script
npm verb stack Error: [email protected] clean:build: `rimraf ./lib`
npm verb stack spawn ENOENT
npm verb stack at ChildProcess.<anonymous> (/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
npm verb stack at ChildProcess.emit (events.js:182:13)
npm verb stack at maybeClose (internal/child_process.js:962:16)
npm verb stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
npm verb pkgid [email protected]
npm verb cwd /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket
npm verb Linux 4.9.0-6-amd64
npm verb argv "/home/vagrant/.nvm/versions/node/v10.15.0/bin/node" "/home/vagrant/.nvm/versions/node/v10.15.0/bin/npm" "run" "clean:build"
npm verb node v10.15.0
npm verb npm v6.4.1
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] clean:build: `rimraf ./lib`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] clean:build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm verb exit [ 1, true ]
npm timing npm Completed in 114ms
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2019-01-04T10_31_19_806Z-debug.log
npm verb lifecycle [email protected]~prebuild: unsafe-perm in lifecycle true
npm verb lifecycle [email protected]~prebuild: PATH: /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket/node_modules/.bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/.bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket/node_modules/.bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/.bin:/home/vagrant/.nvm/versions/node/v10.15.0/bin:/home/vagrant/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
npm verb lifecycle [email protected]~prebuild: CWD: /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket
npm info lifecycle [email protected]~prebuild: Failed to exec prebuild script
npm verb stack Error: [email protected] prebuild: `npm run clean:build`
npm verb stack Exit status 1
npm verb stack at EventEmitter.<anonymous> (/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
npm verb stack at EventEmitter.emit (events.js:182:13)
npm verb stack at ChildProcess.<anonymous> (/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
npm verb stack at ChildProcess.emit (events.js:182:13)
npm verb stack at maybeClose (internal/child_process.js:962:16)
npm verb stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
npm verb pkgid [email protected]
npm verb cwd /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket
npm verb Linux 4.9.0-6-amd64
npm verb argv "/home/vagrant/.nvm/versions/node/v10.15.0/bin/node" "/home/vagrant/.nvm/versions/node/v10.15.0/bin/npm" "run" "build"
npm verb node v10.15.0
npm verb npm v6.4.1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prebuild: `npm run clean:build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm verb exit [ 1, true ]
npm timing npm Completed in 360ms
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2019-01-04T10_31_19_819Z-debug.log
npm verb lifecycle [email protected]~postinstall: unsafe-perm in lifecycle true
npm verb lifecycle [email protected]~postinstall: PATH: /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket/node_modules/.bin:/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/.bin:/home/vagrant/.nvm/versions/node/v10.15.0/bin:/home/vagrant/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
npm verb lifecycle [email protected]~postinstall: CWD: /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket
npm info lifecycle [email protected]~postinstall: Failed to exec postinstall script
npm timing action:postinstall Completed in 536ms
npm verb unlock done using /home/vagrant/.npm/_locks/staging-5c99ffd170c084c1.lock for /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/.staging
npm timing stage:rollbackFailedOptional Completed in 20ms
npm timing stage:runTopLevelLifecycles Completed in 1671ms
npm verb stack Error: [email protected] postinstall: `npm run build`
npm verb stack Exit status 1
npm verb stack at EventEmitter.<anonymous> (/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
npm verb stack at EventEmitter.emit (events.js:182:13)
npm verb stack at ChildProcess.<anonymous> (/home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
npm verb stack at ChildProcess.emit (events.js:182:13)
npm verb stack at maybeClose (internal/child_process.js:962:16)
npm verb stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
npm verb pkgid [email protected]
npm verb cwd /home/vagrant
npm verb Linux 4.9.0-6-amd64
npm verb argv "/home/vagrant/.nvm/versions/node/v10.15.0/bin/node" "/home/vagrant/.nvm/versions/node/v10.15.0/bin/npm" "i" "-g" "--verbose" "verdaccio-bitbucket"
npm verb node v10.15.0
npm verb npm v6.4.1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `npm run build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm verb exit [ 1, true ]
npm timing npm Completed in 1971ms
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2019-01-04T10_31_19_866Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment