electron-release-server: npm start - error: A hook(`orm`) failed to load!

npm start leaves me with this:

error: A hook (orm) failed to load! error: TypeError: Cannot read property ‘config’ of undefined at validateModelDef (/Users/xxx/electron-release-server/node_modules/sails-hook-orm/lib/validate-model-def.js:108:84) at /Users/xxx/electron-release-server/node_modules/sails-hook-orm/lib/initialize.js:218:36 at arrayEach (/Users/xxx/electron-release-server/node_modules/sails-hook-orm/node_modules/lodash/index.js:1289:13) at Function.<anonymous> (/Users/xxx/electron-release-server/node_modules/sails-hook-orm/node_modules/lodash/index.js:3345:13) at Array.async.auto._normalizeModelDefs (/Users/xxx/electron-release-server/node_modules/sails-hook-orm/lib/initialize.js:216:11) at listener (/Users/xxx/electron-release-server/node_modules/async/lib/async.js:605:42) at /Users/xxx/electron-release-server/node_modules/async/lib/async.js:544:17 at _arrayEach (/Users/xxx/electron-release-server/node_modules/async/lib/async.js:85:13) at Immediate.taskComplete (/Users/xxx/electron-release-server/node_modules/async/lib/async.js:543:13) at processImmediate as _immediateCallback [TypeError: Cannot read property ‘config’ of undefined]

Any thoughts? 😦

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 21 (6 by maintainers)

Most upvoted comments

@wslp12 change your package.json to use v2land-sails-pg-session rather than sails-pg-session