{"action":"created","issue":{"url":"https://api.github.com/repos/ember-fastboot/fastboot/issues/72","repository_url":"https://api.github.com/repos/ember-fastboot/fastboot","labels_url":"https://api.github.com/repos/ember-fastboot/fastboot/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/ember-fastboot/fastboot/issues/72/comments","events_url":"https://api.github.com/repos/ember-fastboot/fastboot/issues/72/events","html_url":"https://github.com/ember-fastboot/fastboot/issues/72","id":164687619,"number":72,"title":"`TypeError: FastBoot.config is not a function` on initial app load","user":{"login":"gabrielgrant","id":493968,"avatar_url":"https://avatars.githubusercontent.com/u/493968?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielgrant","html_url":"https://github.com/gabrielgrant","followers_url":"https://api.github.com/users/gabrielgrant/followers","following_url":"https://api.github.com/users/gabrielgrant/following{/other_user}","gists_url":"https://api.github.com/users/gabrielgrant/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielgrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielgrant/subscriptions","organizations_url":"https://api.github.com/users/gabrielgrant/orgs","repos_url":"https://api.github.com/users/gabrielgrant/repos","events_url":"https://api.github.com/users/gabrielgrant/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielgrant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-09T21:59:13Z","updated_at":"2016-07-18T17:53:09Z","closed_at":null,"body":"I believe I've followed the README's usage instructions\r\n\r\n<details>\r\n<summary>Setup procedure</summary>\r\n```\r\n$ cd <app-dir>\r\n$ ember install ember-cli-fastboot\r\n$ # ... add dependencies to fastbootDependencies\r\n$ ember build --environment production\r\n$ cd ../new-dir\r\n$ npm install fastboot\r\n```\r\n</details>\r\n\r\nbut I'm getting and error when I try to initialize the app:\r\n`TypeError: FastBoot.config is not a function`\r\n\r\n<details>\r\n<summary>Full traceback</summary>\r\n```\r\n$ node --harmony\r\n> const FastBoot = require('fastboot');\r\nundefined\r\n> let app = new FastBoot({distPath: '../appdir/dist'});\r\nTypeError: FastBoot.config is not a function\r\n    at r.callback (/path/to/appdir/dist/fastboot/chexec-4b43a9d50d6c4ddb7a7238f13ffeb126.js:3:11339)\r\n    at r.exports (/path/to/appdir/dist/fastboot/vendor-a977a12b034745a0caa0ac14c4319f53.js:1:1991)\r\n    at r.build (/path/to/appdir/dist/fastboot/vendor-a977a12b034745a0caa0ac14c4319f53.js:1:2753)\r\n    at a (/path/to/appdir/dist/fastboot/vendor-a977a12b034745a0caa0ac14c4319f53.js:1:926)\r\n    at r.reify (/path/to/appdir/dist/fastboot/vendor-a977a12b034745a0caa0ac14c4319f53.js:1:2466)\r\n    at r.build (/path/to/appdir/dist/fastboot/vendor-a977a12b034745a0caa0ac14c4319f53.js:1:2740)\r\n    at a (/path/to/appdir/dist/fastboot/vendor-a977a12b034745a0caa0ac14c4319f53.js:1:926)\r\n    at r.reify (/path/to/appdir/dist/fastboot/vendor-a977a12b034745a0caa0ac14c4319f53.js:1:2466)\r\n    at r.build (/path/to/appdir/dist/fastboot/vendor-a977a12b034745a0caa0ac14c4319f53.js:1:2740)\r\n    at a (/path/to/appdir/dist/fastboot/vendor-a977a12b034745a0caa0ac14c4319f53.js:1:926)\r\n    at Object.requireModule (/path/to/appdir/dist/fastboot/vendor-a977a12b034745a0caa0ac14c4319f53.js:1:3030)\r\n    at Object.<anonymous> (/path/to/appdir-cli/node_modules/fastboot/lib/ember-app.js:129:18)\r\n    at Sandbox.VMSandbox.run (/path/to/appdir-cli/node_modules/fastboot/lib/vm-sandbox.js:18:13)\r\n    at EmberApp.retrieveSandboxedApp (/path/to/appdir-cli/node_modules/fastboot/lib/ember-app.js:128:30)\r\n    at new EmberApp (/path/to/appdir-cli/node_modules/fastboot/lib/ember-app.js:41:21)\r\n    at FastBoot._buildEmberApp (/path/to/appdir-cli/node_modules/fastboot/index.js:101:17)\r\n    at new FastBoot (/path/to/appdir-cli/node_modules/fastboot/index.js:47:10)\r\n    at repl:1:-51\r\n    at sigintHandlersWrap (vm.js:32:31)\r\n    at sigintHandlersWrap (vm.js:96:12)\r\n    at ContextifyScript.Script.runInContext (vm.js:31:12)\r\n    at REPLServer.defaultEval (repl.js:308:29)\r\n    at bound (domain.js:280:14)\r\n    at REPLServer.runBound [as eval] (domain.js:293:12)\r\n    at REPLServer.<anonymous> (repl.js:489:10)\r\n    at emitOne (events.js:101:20)\r\n    at REPLServer.emit (events.js:188:7)\r\n    at REPLServer.Interface._onLine (readline.js:232:10)\r\n    at REPLServer.Interface._line (readline.js:574:8)\r\n    at REPLServer.Interface._ttyWrite (readline.js:851:14)\r\n    at ReadStream.onkeypress (readline.js:119:10)\r\n    at emitTwo (events.js:106:13)\r\n    at ReadStream.emit (events.js:191:7)\r\n    at emitKeys (internal/readline.js:385:14)\r\n    at next (native)\r\n    at ReadStream.onData (readline.js:947:36)\r\n    at emitOne (events.js:96:13)\r\n    at ReadStream.emit (events.js:188:7)\r\n    at readableAddChunk (_stream_readable.js:177:18)\r\n    at ReadStream.Readable.push (_stream_readable.js:135:10)\r\n    at TTY.onread (net.js:542:20)\r\n```\r\n</details>\r\n\r\nI'm likely doing something silly, but strangely, grepping for `Fastboot.config` deosn't seem to turn up anything so it's not clear how I should go about debugging this..."},"comment":{"url":"https://api.github.com/repos/ember-fastboot/fastboot/issues/comments/233405413","html_url":"https://github.com/ember-fastboot/fastboot/issues/72#issuecomment-233405413","issue_url":"https://api.github.com/repos/ember-fastboot/fastboot/issues/72","id":233405413,"user":{"login":"aesopwolf","id":6847633,"avatar_url":"https://avatars.githubusercontent.com/u/6847633?v=3","gravatar_id":"","url":"https://api.github.com/users/aesopwolf","html_url":"https://github.com/aesopwolf","followers_url":"https://api.github.com/users/aesopwolf/followers","following_url":"https://api.github.com/users/aesopwolf/following{/other_user}","gists_url":"https://api.github.com/users/aesopwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/aesopwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aesopwolf/subscriptions","organizations_url":"https://api.github.com/users/aesopwolf/orgs","repos_url":"https://api.github.com/users/aesopwolf/repos","events_url":"https://api.github.com/users/aesopwolf/events{/privacy}","received_events_url":"https://api.github.com/users/aesopwolf/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T17:53:09Z","updated_at":"2016-07-18T17:53:09Z","body":"thanks @danmcclain, that was definitely the issue"}}
{"actor":{"display_login":"aesopwolf"}}