Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save dclarke-modus/48964ca024bebb507f61ffb51e26f586 to your computer and use it in GitHub Desktop.

Select an option

Save dclarke-modus/48964ca024bebb507f61ffb51e26f586 to your computer and use it in GitHub Desktop.
client: [{
url:"127.0.0.1",
clientid: "blahblah",
clientpassword: "blahblah",
email: "[email protected]",
scopes: [{
"controller": "service",
"action": "get"
}]
//Error when running `sails debug`:
debug: Seeding Client...
error: Error (E_UNKNOWN) :: Encountered an unexpected error
at new WLError (/var/www/api/node_modules/waterline/lib/waterline/error/WLError.js:25:15)
at /var/www/api/node_modules/waterline/lib/waterline/model/lib/defaultMethods/save.js:188:17
at /var/www/api/node_modules/async/lib/async.js:52:16
at /var/www/api/node_modules/async/lib/async.js:550:17
at /var/www/api/node_modules/async/lib/async.js:544:17
at _arrayEach (/var/www/api/node_modules/async/lib/async.js:85:13)
at Immediate.taskComplete (/var/www/api/node_modules/async/lib/async.js:543:13)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment