Skip to content

Instantly share code, notes, and snippets.

@zofrex
Created January 10, 2016 06:45
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 zofrex/447e344d4a138c5a64dc to your computer and use it in GitHub Desktop.
Save zofrex/447e344d4a138c5a64dc to your computer and use it in GitHub Desktop.
$ knex migrate:latest
Failed to load external module coffee-script/register,coffee-script
/home/vagrant/pdfy2/knexfile.coffee:1
(function (exports, require, module, __filename, __dirname) { # Update with yo
^
SyntaxError: Unexpected token ILLEGAL
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at initKnex (/home/vagrant/.nvm/versions/node/v0.12.9/lib/node_modules/knex/lib/bin/cli.js:51:16)
at Command.<anonymous> (/home/vagrant/.nvm/versions/node/v0.12.9/lib/node_modules/knex/lib/bin/cli.js:103:15)
at Command.listener (/home/vagrant/.nvm/versions/node/v0.12.9/lib/node_modules/knex/node_modules/commander/index.js:301:8)
at Command.emit (events.js:110:17)
at Command.parseArgs (/home/vagrant/.nvm/versions/node/v0.12.9/lib/node_modules/knex/node_modules/commander/index.js:615:12)
at Command.parse (/home/vagrant/.nvm/versions/node/v0.12.9/lib/node_modules/knex/node_modules/commander/index.js:458:21)
at Liftoff.invoke (/home/vagrant/.nvm/versions/node/v0.12.9/lib/node_modules/knex/lib/bin/cli.js:142:13)
at Liftoff.<anonymous> (/home/vagrant/.nvm/versions/node/v0.12.9/lib/node_modules/knex/node_modules/liftoff/index.js:181:16)
at module.exports (/home/vagrant/.nvm/versions/node/v0.12.9/lib/node_modules/knex/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment