Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save yelworc/d845a7a1243b42af2baffa9c56ba211d to your computer and use it in GitHub Desktop.

Select an option

Save yelworc/d845a7a1243b42af2baffa9c56ba211d to your computer and use it in GitHub Desktop.
verdaccio-bitbucket@1.0.5 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 npm@6.4.1
npm info using node@v10.15.0
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 is-buffer@1.1.6~preinstall: is-buffer@1.1.6
npm info lifecycle ms@2.0.0~preinstall: ms@2.0.0
npm info lifecycle debug@3.1.0~preinstall: debug@3.1.0
npm info lifecycle follow-redirects@1.6.1~preinstall: follow-redirects@1.6.1
npm info lifecycle axios@0.18.0~preinstall: axios@0.18.0
npm info lifecycle verdaccio-bitbucket@1.0.5~preinstall: verdaccio-bitbucket@1.0.5
npm timing action:preinstall Completed in 9ms
npm info linkStuff is-buffer@1.1.6
npm info linkStuff ms@2.0.0
npm info linkStuff debug@3.1.0
npm info linkStuff follow-redirects@1.6.1
npm info linkStuff axios@0.18.0
npm info linkStuff verdaccio-bitbucket@1.0.5
npm timing action:build Completed in 12ms
npm info lifecycle is-buffer@1.1.6~install: is-buffer@1.1.6
npm info lifecycle ms@2.0.0~install: ms@2.0.0
npm info lifecycle debug@3.1.0~install: debug@3.1.0
npm info lifecycle follow-redirects@1.6.1~install: follow-redirects@1.6.1
npm info lifecycle axios@0.18.0~install: axios@0.18.0
npm info lifecycle verdaccio-bitbucket@1.0.5~install: verdaccio-bitbucket@1.0.5
npm timing action:install Completed in 9ms
npm info lifecycle is-buffer@1.1.6~postinstall: is-buffer@1.1.6
npm info lifecycle ms@2.0.0~postinstall: ms@2.0.0
npm info lifecycle debug@3.1.0~postinstall: debug@3.1.0
npm info lifecycle follow-redirects@1.6.1~postinstall: follow-redirects@1.6.1
npm info lifecycle axios@0.18.0~postinstall: axios@0.18.0
npm info lifecycle verdaccio-bitbucket@1.0.5~postinstall: verdaccio-bitbucket@1.0.5
> verdaccio-bitbucket@1.0.5 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 npm@6.4.1
npm info using node@v10.15.0
npm verb run-script [ 'prebuild', 'build', 'postbuild' ]
npm info lifecycle verdaccio-bitbucket@1.0.5~prebuild: verdaccio-bitbucket@1.0.5
> verdaccio-bitbucket@1.0.5 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 npm@6.4.1
npm info using node@v10.15.0
npm verb run-script [ 'preclean:build', 'clean:build', 'postclean:build' ]
npm info lifecycle verdaccio-bitbucket@1.0.5~preclean:build: verdaccio-bitbucket@1.0.5
npm info lifecycle verdaccio-bitbucket@1.0.5~clean:build: verdaccio-bitbucket@1.0.5
> verdaccio-bitbucket@1.0.5 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 verdaccio-bitbucket@1.0.5~clean:build: unsafe-perm in lifecycle true
npm verb lifecycle verdaccio-bitbucket@1.0.5~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 verdaccio-bitbucket@1.0.5~clean:build: CWD: /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket
npm info lifecycle verdaccio-bitbucket@1.0.5~clean:build: Failed to exec clean:build script
npm verb stack Error: verdaccio-bitbucket@1.0.5 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 verdaccio-bitbucket@1.0.5
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! verdaccio-bitbucket@1.0.5 clean:build: `rimraf ./lib`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the verdaccio-bitbucket@1.0.5 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 verdaccio-bitbucket@1.0.5~prebuild: unsafe-perm in lifecycle true
npm verb lifecycle verdaccio-bitbucket@1.0.5~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 verdaccio-bitbucket@1.0.5~prebuild: CWD: /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket
npm info lifecycle verdaccio-bitbucket@1.0.5~prebuild: Failed to exec prebuild script
npm verb stack Error: verdaccio-bitbucket@1.0.5 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 verdaccio-bitbucket@1.0.5
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! verdaccio-bitbucket@1.0.5 prebuild: `npm run clean:build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the verdaccio-bitbucket@1.0.5 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 verdaccio-bitbucket@1.0.5~postinstall: unsafe-perm in lifecycle true
npm verb lifecycle verdaccio-bitbucket@1.0.5~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 verdaccio-bitbucket@1.0.5~postinstall: CWD: /home/vagrant/.nvm/versions/node/v10.15.0/lib/node_modules/verdaccio-bitbucket
npm info lifecycle verdaccio-bitbucket@1.0.5~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: verdaccio-bitbucket@1.0.5 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 verdaccio-bitbucket@1.0.5
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! verdaccio-bitbucket@1.0.5 postinstall: `npm run build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the verdaccio-bitbucket@1.0.5 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