Closed jurecuhalev closed 7 years ago
While testing this again, it seems that it doesn't actually work. I'm not sure why it worked with my branch at all. Right now, doing a clean checkout and running fastboot twice, I get the following crash:
Error: Assertion Failed: EventDispatcher should never be instantiated in fastboot mode. Please report this as an Ember bug.
at assert (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:16268:13)
at Object.assert (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:27196:34)
at Class.init (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:51446:19)
at Class.superWrapper [as init] (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:50189:22)
at new Class (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:45879:17)
at Function.create (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:46167:14)
at instantiate (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:12104:23)
at lookup (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:11941:17)
at Object.lookup (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:11860:14)
at Class.lookup (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:42326:33)
at /Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:17515:59
at Class.init (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:17525:9)
at Class.superWrapper [as init] (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:50189:22)
at new Class (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:45879:17)
at Function.create (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:46167:14)
at Object.initialize (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/fastboot-website.js:450:38)
at /Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:15130:21
at Vertices.each (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:13183:13)
at Vertices.topsort (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:13150:14)
at DAG.topsort (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:13095:24)
at Class._runInitializer (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:15145:13)
at Class.runInstanceInitializers (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:15128:12)
at Class._bootSync (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:13401:24)
at /Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:14813:30
at initializePromise (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:68766:5)
at new Promise (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:69251:31)
at Class.boot (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:14812:27)
at /Users/gandalf/build/site2/fastboot-website/node_modules/fastboot/dist/cjs/ember-app.js:235:25
at tryCatch (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:68718:12)
at invokeCallback (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:68730:13)
at publish (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:68701:7)
at /Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:48186:16
at invokeWithOnError (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:10901:16)
at Object.flush (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:10960:9)
at Object.flush (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:11084:15)
at Object.end (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:11154:23)
at Timeout._onTimeout (/Users/gandalf/build/site2/fastboot-website/dist/fastboot/vendor.js:11720:16)
at ontimeout (timers.js:365:14)
at tryOnTimeout (timers.js:237:5)
at Timer.listOnTimeout (timers.js:207:5)
Moving this back to issue.
Fixes #50