Skip to content

Instantly share code, notes, and snippets.

@Viswanathantv
Created November 26, 2014 02:54
Show Gist options
  • Save Viswanathantv/6f0d2da585517929cbe3 to your computer and use it in GitHub Desktop.
Save Viswanathantv/6f0d2da585517929cbe3 to your computer and use it in GitHub Desktop.
Typo
^Croot@DesiBody:~/desibody# sails lift
info: Starting app...
error: A hook (`orm`) failed to load!
error: SyntaxError: Unexpected token x
at Object.parse (native)
at Database.read (/usr/local/lib/node_modules/sails/node_modules/sails-disk/lib/database.js:200:18)
at Array.async.auto.checkData [as 0] (/usr/local/lib/node_modules/sails/node_modules/sails-disk/lib/database.js:59:12)
at /usr/local/lib/node_modules/sails/node_modules/async/lib/async.js:459:38
at Array.forEach (native)
at _each (/usr/local/lib/node_modules/sails/node_modules/async/lib/async.js:32:24)
at Object.async.auto (/usr/local/lib/node_modules/sails/node_modules/async/lib/async.js:430:9)
at Database.initialize (/usr/local/lib/node_modules/sails/node_modules/sails-disk/lib/database.js:55:9)
at Object.module.exports.adapter.registerConnection (/usr/local/lib/node_modules/sails/node_modules/sails-disk/lib/adapter.js:51:40)
at /usr/local/lib/node_modules/sails/node_modules/waterline/lib/waterline.js:202:29 [SyntaxError: Unexpected token x]
error: SyntaxError: Unexpected token x
at Object.parse (native)
at Database.read (/usr/local/lib/node_modules/sails/node_modules/sails-disk/lib/database.js:200:18)
at Array.async.auto.checkData [as 0] (/usr/local/lib/node_modules/sails/node_modules/sails-disk/lib/database.js:59:12)
at /usr/local/lib/node_modules/sails/node_modules/async/lib/async.js:459:38
at Array.forEach (native)
at _each (/usr/local/lib/node_modules/sails/node_modules/async/lib/async.js:32:24)
at Object.async.auto (/usr/local/lib/node_modules/sails/node_modules/async/lib/async.js:430:9)
at Database.initialize (/usr/local/lib/node_modules/sails/node_modules/sails-disk/lib/database.js:55:9)
at Object.module.exports.adapter.registerConnection (/usr/local/lib/node_modules/sails/node_modules/sails-disk/lib/adapter.js:51:40)
at /usr/local/lib/node_modules/sails/node_modules/waterline/lib/waterline.js:202:29 [SyntaxError: Unexpected token x]
root@DesiBody:~/desibody#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment