Skip to content

Instantly share code, notes, and snippets.

@yaronyg
Created June 6, 2016 15:11
Show Gist options
  • Save yaronyg/1d5ef7767fafe9638ab19f450cb572bc to your computer and use it in GitHub Desktop.
Save yaronyg/1d5ef7767fafe9638ab19f450cb572bc to your computer and use it in GitHub Desktop.
PouchDB Build Failure
Yarons-MacBook-Pro:pouchdb yarongoland$ npm install
npm WARN deprecated native-or-bluebird@1.2.0: 'native-or-bluebird' is deprecated. Please use 'any-promise' instead.
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
> sauce-connect-launcher@0.14.0 postinstall /private/tmp/delme2/pouchdb/node_modules/sauce-connect-launcher
> node scripts/install.js
-
> leveldown@1.4.5 install /private/tmp/delme2/pouchdb/node_modules/pouchdb-server/node_modules/pouchdb/node_modules/leveldown
> prebuild --install
> leveldown@1.4.5 install /private/tmp/delme2/pouchdb/node_modules/express-pouchdb/node_modules/pouchdb-auth/node_modules/pouchdb/node_modules/leveldown
> prebuild --install
> sqlite3@3.1.4 install /private/tmp/delme2/pouchdb/node_modules/pouchdb-server/node_modules/pouchdb/node_modules/websql/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build
[sqlite3] Success: "/private/tmp/delme2/pouchdb/node_modules/pouchdb-server/node_modules/pouchdb/node_modules/websql/node_modules/sqlite3/lib/binding/node-v46-darwin-x64/node_sqlite3.node" is installed via remote
> sqlite3@3.1.4 install /private/tmp/delme2/pouchdb/node_modules/express-pouchdb/node_modules/pouchdb-auth/node_modules/pouchdb/node_modules/websql/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build
[sqlite3] Success: "/private/tmp/delme2/pouchdb/node_modules/express-pouchdb/node_modules/pouchdb-auth/node_modules/pouchdb/node_modules/websql/node_modules/sqlite3/lib/binding/node-v46-darwin-x64/node_sqlite3.node" is installed via remote
> pouchdb-monorepo@0.0.0 prepublish /private/tmp/delme2/pouchdb
> npm run build
> pouchdb-monorepo@0.0.0 build /private/tmp/delme2/pouchdb
> lerna bootstrap && npm run build-modules && npm run build-test
Lerna v2.0.0-beta.9
Linking all dependencies
Errored while running BootstrapCommand.execute
Error: Command failed: /bin/sh -c npm install pouchdb-errors@5.4.0-prerelease pouchdb-md5@5.4.0-prerelease pouchdb-merge@5.4.0-prerelease pouchdb-adapter-utils@5.4.0-prerelease pouchdb-binary-utils@5.4.0-prerelease pouchdb-utils@5.4.0-prerelease
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pouchdb-errors@5.4.0-prerelease" "pouchdb-md5@5.4.0-prerelease" "pouchdb-merge@5.4.0-prerelease" "pouchdb-adapter-utils@5.4.0-prerelease" "pouchdb-binary-utils@5.4.0-prerelease" "pouchdb-utils@5.4.0-prerelease"
npm ERR! node v4.4.5
npm ERR! npm v2.15.5
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/pouchdb-merge
npm ERR! 404
npm ERR! 404 'pouchdb-merge' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'pouchdb-adapter-indexeddb'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request:
npm ERR! /private/tmp/delme2/pouchdb/packages/pouchdb-adapter-indexeddb/npm-debug.log
at ChildProcess.exithandler (child_process.js:213:12)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:827:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v4.4.5
npm ERR! npm v2.15.5
npm ERR! code ELIFECYCLE
npm ERR! pouchdb-monorepo@0.0.0 build: `lerna bootstrap && npm run build-modules && npm run build-test`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pouchdb-monorepo@0.0.0 build script 'lerna bootstrap && npm run build-modules && npm run build-test'.
npm ERR! This is most likely a problem with the pouchdb-monorepo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! lerna bootstrap && npm run build-modules && npm run build-test
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs pouchdb-monorepo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls pouchdb-monorepo
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /private/tmp/delme2/pouchdb/npm-debug.log
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.4.5
npm ERR! npm v2.15.5
npm ERR! code ELIFECYCLE
npm ERR! pouchdb-monorepo@0.0.0 prepublish: `npm run build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pouchdb-monorepo@0.0.0 prepublish script 'npm run build'.
npm ERR! This is most likely a problem with the pouchdb-monorepo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs pouchdb-monorepo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls pouchdb-monorepo
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /private/tmp/delme2/pouchdb/npm-debug.log
Yarons-MacBook-Pro:pouchdb yarongoland$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment