{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/strong-pm/issues/253","labels_url":"https://api.github.com/repos/strongloop/strong-pm/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/strong-pm/issues/253/comments","events_url":"https://api.github.com/repos/strongloop/strong-pm/issues/253/events","html_url":"https://github.com/strongloop/strong-pm/issues/253","id":94494326,"number":253,"title":"I am getting this error on every environment I try to setup on. ","user":{"login":"chrisamoore","id":740153,"avatar_url":"https://avatars.githubusercontent.com/u/740153?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisamoore","html_url":"https://github.com/chrisamoore","followers_url":"https://api.github.com/users/chrisamoore/followers","following_url":"https://api.github.com/users/chrisamoore/following{/other_user}","gists_url":"https://api.github.com/users/chrisamoore/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisamoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisamoore/subscriptions","organizations_url":"https://api.github.com/users/chrisamoore/orgs","repos_url":"https://api.github.com/users/chrisamoore/repos","events_url":"https://api.github.com/users/chrisamoore/events{/privacy}","received_events_url":"https://api.github.com/users/chrisamoore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-11T17:45:34Z","updated_at":"2015-07-13T19:51:12Z","closed_at":null,"body":"I have tried this on a few basic Ubuntu images, and docker on a few machines. Seems pretty recent. Any help ? \r\nIt definitely looks like a strong-pm error... perhaps the memory DB whilst creating the Models? \r\n\r\n/cc @rmg @ShubhraKar\r\n\r\n```\r\n\r\n╭─cmoore@cam17in.san.rr.com  ‹node-v2.3.1› ~/code\r\n╰─ docker run \\\r\n  --publish 8701:8701 --publish 3000:3000 \\\r\n  --name strong-pm-container \\\r\n  strongloop/strong-pm\r\n\r\n/usr/local/lib/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback-datasource-juggler/lib/utils.js:381\r\n        if (!target[key]) {\r\n                   ^\r\nTypeError: Cannot read property 'default' of null\r\n    at /usr/local/lib/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback-datasource-juggler/lib/utils.js:381:20\r\n    at Array.forEach (native)\r\n    at mergeSettings (/usr/local/lib/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback-datasource-juggler/lib/utils.js:376:22)\r\n    at Function.ModelClass.extend (/usr/local/lib/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback-datasource-juggler/lib/model-builder.js:384:26)\r\n    at Registry.createModel (/usr/local/lib/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback/lib/registry.js:122:25)\r\n    at /usr/local/lib/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback-boot/lib/executor.js:214:24\r\n    at Array.forEach (native)\r\n    at defineModels (/usr/local/lib/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback-boot/lib/executor.js:198:23)\r\n    at setupModels (/usr/local/lib/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback-boot/lib/executor.js:166:3)\r\n    at execute (/usr/local/lib/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback-boot/lib/executor.js:32:3)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/strongloop/strong-pm/issues/comments/121036438","html_url":"https://github.com/strongloop/strong-pm/issues/253#issuecomment-121036438","issue_url":"https://api.github.com/repos/strongloop/strong-pm/issues/253","id":121036438,"user":{"login":"rmg","id":17978,"avatar_url":"https://avatars.githubusercontent.com/u/17978?v=3","gravatar_id":"","url":"https://api.github.com/users/rmg","html_url":"https://github.com/rmg","followers_url":"https://api.github.com/users/rmg/followers","following_url":"https://api.github.com/users/rmg/following{/other_user}","gists_url":"https://api.github.com/users/rmg/gists{/gist_id}","starred_url":"https://api.github.com/users/rmg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmg/subscriptions","organizations_url":"https://api.github.com/users/rmg/orgs","repos_url":"https://api.github.com/users/rmg/repos","events_url":"https://api.github.com/users/rmg/events{/privacy}","received_events_url":"https://api.github.com/users/rmg/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T19:51:12Z","updated_at":"2015-07-13T19:51:12Z","body":"The strongloop/strong-pm:latest image was rebuilt on the 10th with the following deps:\r\n```\r\nstrong-pm@4.3.1 /usr/local/lib/node_modules/strong-pm\r\n├── sl-blip@1.0.0\r\n├── uid-number@0.0.5\r\n├── strong-spawn-npm@1.0.0\r\n├── chownr@0.0.1\r\n├── strong-url-defaults@1.2.0\r\n├── extsprintf@1.3.0\r\n├── posix-getopt@1.1.0\r\n├── async@0.9.2\r\n├── osenv@0.1.3 (os-homedir@1.0.0, os-tmpdir@1.0.1)\r\n├── debug@2.2.0 (ms@0.7.1)\r\n├── serve-favicon@2.3.0 (fresh@0.3.0, etag@1.7.0, ms@0.7.1, parseurl@1.3.0)\r\n├── mkdirp@0.5.1 (minimist@0.0.8)\r\n├── passwd-user@1.2.0 (exec-file-sync@1.0.0)\r\n├── bl@0.9.4 (readable-stream@1.0.33)\r\n├── strong-service-install@1.1.3 (strong-service-systemd@1.2.0, minimist@0.2.0, strong-service-upstart@1.1.0, shell-quote@1.4.3, which@1.1.1)\r\n├── concat-stream@1.5.0 (inherits@2.0.1, typedarray@0.0.6, readable-stream@2.0.1)\r\n├── strong-fork-cicada@1.1.2 (inherits@1.0.0, shell-quote@0.0.1, mkdirp@0.3.5, strong-fork-pushover@1.3.9)\r\n├── compression@1.5.1 (bytes@2.1.0, vary@1.0.1, on-headers@1.0.0, compressible@2.0.4, accepts@1.2.10)\r\n├── errorhandler@1.4.1 (escape-html@1.0.2, accepts@1.2.10)\r\n├── rimraf@2.4.1 (glob@4.5.3)\r\n├── tar@1.0.3 (inherits@2.0.1, block-stream@0.0.8, fstream@1.0.7)\r\n├── express@4.13.1 (escape-html@1.0.2, fresh@0.3.0, vary@1.0.1, merge-descriptors@1.0.0, array-flatten@1.1.0, cookie@0.1.3, etag@1.7.0, utils-merge@1.0.0, cookie-signature@1.0.6, methods@1.1.1, parseurl@1.3.0, range-parser@1.0.2, path-to-regexp@0.1.6, content-type@1.0.1, content-disposition@0.5.0, serve-static@1.10.0, depd@1.0.1, qs@4.0.0, on-finished@2.3.0, finalhandler@0.4.0, proxy-addr@1.0.8, send@0.13.0, accepts@1.2.10, type-is@1.6.4)\r\n├── strong-docker-build@1.1.0 (through@2.3.8, async@1.3.0, fstream-npm@1.0.4, tar@2.1.1)\r\n├── dockerode@2.2.1 (docker-modem@0.2.5)\r\n├── strong-npm-ls@1.0.5 (topiary@1.1.1, read-installed@3.1.5)\r\n├── strong-tunnel@1.1.2 (ssh2@0.4.10)\r\n├── express-ws@0.2.6 (url-join@0.0.1, ws@0.4.32)\r\n├── http-auth@2.2.8 (node-uuid@1.4.1, htpasswd@2.2.0)\r\n├── strong-control-channel@1.3.0 (newline-json@0.1.1, ws@0.7.2)\r\n├── lodash@3.10.0\r\n├── strong-runner@2.0.0 (npm-path@1.0.2, lodash@2.4.2, strong-supervisor@2.0.2)\r\n├── strong-mesh-models@7.1.1 (user-home@1.1.1, sprintf@0.1.5, text-table@0.2.0, loopback-boot@2.8.2, request@2.58.0, loopback-datasource-juggler@2.33.0, loopback@2.19.0, loopback-explorer@1.8.0)\r\n└── minkelite@1.1.2 (xtend@4.0.0, ago@1.0.0, stats-lite@1.0.3, MD5@1.2.2, util@0.10.3, body-parser@1.9.3, express@4.9.8, sqlite3@3.0.8)\r\n```"}}