Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ubuntu@ip-10-157-50-160:~/openbadges$ npm start
> openbadges@0.5.0 start /home/ubuntu/openbadges
> ./bin/db-migrate up && ./node_modules/.bin/up -w -n 1 -p 8888 app.js
[INFO] No migrations to run
[INFO] Done
up-cli starting cluster with 1 workers on port 8888
up-cli `kill -s SIGUSR2 14209` or ctrl + r to load new code
up spawning 1 workers from master 14209
up worker 14211 created
up-cli watching "/home/ubuntu/openbadges" for changes
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: watch EMFILE
at errnoException (fs.js:636:11)
at FSWatcher.start (fs.js:663:11)
at Object.watch (fs.js:691:11)
at /home/ubuntu/openbadges/node_modules/up/bin/up:261:10
at Array.forEach (native)
at watch (/home/ubuntu/openbadges/node_modules/up/bin/up:260:11)
at Object.<anonymous> (/home/ubuntu/openbadges/node_modules/up/bin/up:273:3)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:32)
npm ERR! openbadges@0.5.0 start: `./bin/db-migrate up && ./node_modules/.bin/up -w -n 1 -p 8888 app.js`
npm ERR! `sh "-c" "./bin/db-migrate up && ./node_modules/.bin/up -w -n 1 -p 8888 app.js"` failed with 1
npm ERR!
npm ERR! Failed at the openbadges@0.5.0 start script.
npm ERR! This is most likely a problem with the openbadges package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./bin/db-migrate up && ./node_modules/.bin/up -w -n 1 -p 8888 app.js
npm ERR! You can get their info via:
npm ERR! npm owner ls openbadges
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 3.2.0-36-virtual
npm ERR! command "node" "/usr/bin/npm" "start"
npm ERR! cwd /home/ubuntu/openbadges
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! code ELIFECYCLE
npm ERR! message openbadges@0.5.0 start: `./bin/db-migrate up && ./node_modules/.bin/up -w -n 1 -p 8888 app.js`
npm ERR! message `sh "-c" "./bin/db-migrate up && ./node_modules/.bin/up -w -n 1 -p 8888 app.js"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ubuntu/openbadges/npm-debug.log
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment