Skip to content

Instantly share code, notes, and snippets.

@blackcoat
Created August 2, 2012 20:57
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 blackcoat/3240588 to your computer and use it in GitHub Desktop.
Save blackcoat/3240588 to your computer and use it in GitHub Desktop.
Meteor crashes with should.js in Mocha tests
$ meteor
[[[[[ /Library/WebServer/Documents/personal/test-game ]]]]]
Running on: http://localhost:3000/
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
ReferenceError: require is not defined
at app/test/player.js:5:1
at /Library/WebServer/Documents/personal/test-game/.meteor/local/build/server/server.js:127:21
at Array.forEach (native)
at Function.<anonymous> (/Library/WebServer/Documents/personal/test-game/.meteor/local/build/server/underscore.js:76:11)
at /Library/WebServer/Documents/personal/test-game/.meteor/local/build/server/server.js:113:7
Exited with code: 1
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
ReferenceError: require is not defined
at app/test/player.js:5:1
at /Library/WebServer/Documents/personal/test-game/.meteor/local/build/server/server.js:127:21
at Array.forEach (native)
at Function.<anonymous> (/Library/WebServer/Documents/personal/test-game/.meteor/local/build/server/underscore.js:76:11)
at /Library/WebServer/Documents/personal/test-game/.meteor/local/build/server/server.js:113:7
Exited with code: 1
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
ReferenceError: require is not defined
at app/test/player.js:5:1
at /Library/WebServer/Documents/personal/test-game/.meteor/local/build/server/server.js:127:21
at Array.forEach (native)
at Function.<anonymous> (/Library/WebServer/Documents/personal/test-game/.meteor/local/build/server/underscore.js:76:11)
at /Library/WebServer/Documents/personal/test-game/.meteor/local/build/server/server.js:113:7
Exited with code: 1
Your application is crashing. Waiting for file change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment