Skip to content

Instantly share code, notes, and snippets.

@crandmck
Created July 10, 2015 18:28
Show Gist options
  • Save crandmck/afe4e8474affefb69fbb to your computer and use it in GitHub Desktop.
Save crandmck/afe4e8474affefb69fbb to your computer and use it in GitHub Desktop.
Stack trace from slc ctl
$ slc ctl -C http://45.55.19.126
/usr/local/lib/node_modules/strongloop/node_modules/loopback-datasource-juggler/lib/utils.js:381
if (!target[key]) {
^
TypeError: Cannot read property 'default' of null
at /usr/local/lib/node_modules/strongloop/node_modules/loopback-datasource-juggler/lib/utils.js:381:20
at Array.forEach (native)
at mergeSettings (/usr/local/lib/node_modules/strongloop/node_modules/loopback-datasource-juggler/lib/utils.js:376:22)
at Function.ModelClass.extend (/usr/local/lib/node_modules/strongloop/node_modules/loopback-datasource-juggler/lib/model-builder.js:384:26)
at Registry.createModel (/usr/local/lib/node_modules/strongloop/node_modules/loopback/lib/registry.js:122:25)
at /usr/local/lib/node_modules/strongloop/node_modules/loopback-boot/lib/executor.js:214:24
at Array.forEach (native)
at defineModels (/usr/local/lib/node_modules/strongloop/node_modules/loopback-boot/lib/executor.js:198:23)
at setupModels (/usr/local/lib/node_modules/strongloop/node_modules/loopback-boot/lib/executor.js:166:3)
at execute (/usr/local/lib/node_modules/strongloop/node_modules/loopback-boot/lib/executor.js:32:3)
Rands-MacBook-Air:StrongLoop rand$ slc ctl -C http://45.55.19.126
/usr/local/lib/node_modules/strongloop/node_modules/loopback-datasource-juggler/lib/utils.js:381
if (!target[key]) {
^
TypeError: Cannot read property 'default' of null
at /usr/local/lib/node_modules/strongloop/node_modules/loopback-datasource-juggler/lib/utils.js:381:20
at Array.forEach (native)
at mergeSettings (/usr/local/lib/node_modules/strongloop/node_modules/loopback-datasource-juggler/lib/utils.js:376:22)
at Function.ModelClass.extend (/usr/local/lib/node_modules/strongloop/node_modules/loopback-datasource-juggler/lib/model-builder.js:384:26)
at Registry.createModel (/usr/local/lib/node_modules/strongloop/node_modules/loopback/lib/registry.js:122:25)
at /usr/local/lib/node_modules/strongloop/node_modules/loopback-boot/lib/executor.js:214:24
at Array.forEach (native)
at defineModels (/usr/local/lib/node_modules/strongloop/node_modules/loopback-boot/lib/executor.js:198:23)
at setupModels (/usr/local/lib/node_modules/strongloop/node_modules/loopback-boot/lib/executor.js:166:3)
at execute (/usr/local/lib/node_modules/strongloop/node_modules/loopback-boot/lib/executor.js:32:3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment