Skip to content

Instantly share code, notes, and snippets.

@sonthonaxrk
Created April 25, 2015 23:18
Show Gist options
  • Save sonthonaxrk/4254ec8639d3757b137e to your computer and use it in GitHub Desktop.
Save sonthonaxrk/4254ec8639d3757b137e to your computer and use it in GitHub Desktop.
(django-dropoff)Rollos-Mac-Pro:backbone-playground Rollo$ babel-node ./node_modules/.bin/mocha
/Users/Rollo/Developer/backbone-playground/src/lib/Model.js:1
(function (exports, require, module, __filename, __dirname) { class Model {
^^^^^
SyntaxError: Unexpected reserved word
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:393:25)
at Object.Module._extensions..js (module.js:428:10)
at Module.load (module.js:335:32)
at Function.Module._load (module.js:290:12)
at Module.require (module.js:345:17)
at require (module.js:364:17)
at Object.<anonymous> (/Users/Rollo/Developer/backbone-playground/test/test.js:3:13)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:428:10)
at Module.load (module.js:335:32)
at Function.Module._load (module.js:290:12)
at Module.require (module.js:345:17)
at require (module.js:364:17)
at /Users/Rollo/Developer/backbone-playground/node_modules/mocha/lib/mocha.js:192:27
at Array.forEach (native)
at Mocha.loadFiles (/Users/Rollo/Developer/backbone-playground/node_modules/mocha/lib/mocha.js:189:14)
at Mocha.run (/Users/Rollo/Developer/backbone-playground/node_modules/mocha/lib/mocha.js:422:31)
at Object.<anonymous> (/Users/Rollo/Developer/backbone-playground/node_modules/mocha/bin/_mocha:398:16)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:428:10)
at Module.load (module.js:335:32)
at Function.Module._load (module.js:290:12)
at Function.Module.runMain (module.js:451:10)
at startup (node.js:124:18)
at node.js:882:3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment