Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: The connection dev specified in user does not exist! #291

Open
ghost opened this issue May 27, 2017 · 0 comments
Open

Error: The connection dev specified in user does not exist! #291

ghost opened this issue May 27, 2017 · 0 comments
Labels

Comments

@ghost
Copy link

ghost commented May 27, 2017

Issue Description

Launching a fresh installation of TrailsJS (express5, waterline) and then doing yo trails:model User fails to lift node server.js

Environment

  • node version: 6.10.2
  • trails version: 2-latest (27th May '17)
  • operating system: Ubuntu 17
error: 
 Error: The connection dev specified in user does not exist!
    at /home/emanuele/Scrivania/trails/node_modules/waterline/lib/waterline/collection/loader.js:101:13
    at Array.forEach (native)
    at _getConnections (/home/emanuele/Scrivania/trails/node_modules/waterline/lib/waterline/collection/loader.js:96:35)
    at new module.exports (/home/emanuele/Scrivania/trails/node_modules/waterline/lib/waterline/collection/loader.js:23:32)
    at loadCollection (/home/emanuele/Scrivania/trails/node_modules/waterline/lib/waterline.js:108:18)
    at /home/emanuele/Scrivania/trails/node_modules/waterline/node_modules/async/lib/async.js:181:20
    at Object.async.forEachOf.async.eachOf (/home/emanuele/Scrivania/trails/node_modules/waterline/node_modules/async/lib/async.js:233:13)
    at Object.async.forEach.async.each (/home/emanuele/Scrivania/trails/node_modules/waterline/node_modules/async/lib/async.js:209:22)
    at Array.loadCollections (/home/emanuele/Scrivania/trails/node_modules/waterline/lib/waterline.js:122:13)
    at /home/emanuele/Scrivania/trails/node_modules/waterline/node_modules/async/lib/async.js:596:38
    at _arrayEach (/home/emanuele/Scrivania/trails/node_modules/waterline/node_modules/async/lib/async.js:85:13)
    at Object.async.auto (/home/emanuele/Scrivania/trails/node_modules/waterline/node_modules/async/lib/async.js:554:9)
    at Waterline.initialize (/home/emanuele/Scrivania/trails/node_modules/waterline/lib/waterline.js:118:9)
    at Promise (/home/emanuele/Scrivania/trails/node_modules/trailpack-waterline/index.js:54:15)
    at WaterlineTrailpack.initialize (/home/emanuele/Scrivania/trails/node_modules/trailpack-waterline/index.js:53:12)
    at app.after.then.then (/home/emanuele/Scrivania/trails/node_modules/trails/lib/trailpack.js:44:26)
    at process._tickDomainCallback (internal/process/next_tick.js:135:7)
    at Module.runMain (module.js:606:11)
    at run (bootstrap_node.js:393:7)
    at startup (bootstrap_node.js:150:9)
    at bootstrap_node.js:508:3

@tjwebb tjwebb added the crash label May 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant