Skip to content

Instantly share code, notes, and snippets.

@marten-de-vries
Created January 9, 2015 12:33
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 marten-de-vries/bd0013875b5e53675f56 to your computer and use it in GitHub Desktop.
Save marten-de-vries/bd0013875b5e53675f56 to your computer and use it in GitHub Desktop.
Trying to reproduce Travis failure.
marten@procyon:~/Bureaublad$ mkdir temp
marten@procyon:~/Bureaublad$ cd temp/
marten@procyon:~/Bureaublad/temp$ npm cache clean
marten@procyon:~/Bureaublad/temp$ git clone --depth=30 git://github.com/pouchdb/express-pouchdb.git pouchdb/express-pouchdb
marten@procyon:~/Bureaublad/temp$ cd pouchdb/express-pouchdb
marten@procyon:~/Bureaublad/temp/pouchdb/express-pouchdb$ git fetch origin +refs/pull/170/merge:
marten@procyon:~/Bureaublad/temp/pouchdb/express-pouchdb$ git checkout -qf FETCH_HEAD
marten@procyon:~/Bureaublad/temp/pouchdb/express-pouchdb$ export CLIENT=node
marten@procyon:~/Bureaublad/temp/pouchdb/express-pouchdb$ export COMMAND=test-pouchdb-minimum
marten@procyon:~/Bureaublad/temp/pouchdb/express-pouchdb$ npm install
marten@procyon:~/Bureaublad/temp/pouchdb/express-pouchdb$ cd node_modules/pouchdb && npm install && cd -
marten@procyon:~/Bureaublad/temp/pouchdb/express-pouchdb$ rm -fr node_modules/pouchdb/node_modules/express-pouchdb
marten@procyon:~/Bureaublad/temp/pouchdb/express-pouchdb$ ln -s ../../express-pouchdb node_modules/pouchdb/node_modules/express-pouchdb
marten@procyon:~/Bureaublad/temp/pouchdb/express-pouchdb$ cd node_modules/pouchdb-server && npm install && cd -
marten@procyon:~/Bureaublad/temp/pouchdb/express-pouchdb$ rm -fr node_modules/pouchdb-server/node_modules/express-pouchdb
marten@procyon:~/Bureaublad/temp/pouchdb/express-pouchdb$ ln -s ../../express-pouchdb node_modules/pouchdb-server/node_modules/express-pouchdb
marten@procyon:~/Bureaublad/temp/pouchdb/express-pouchdb$ npm run $COMMAND
@nolanlawson
Copy link

Maybe it's a difference in npm versions on Travis and your machine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment