-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ember 2.3.0 and ember-cli-fastboot raise document is not defined
error
#87
Comments
@cs3b Check your vendor file at line |
@danmcclain thanks for pointing me in that direction. So far I get that So I switch to production environment ... and now the server is starting, but I've got another error: #...
Error while processing route: index t.default.$ is not a function TypeError: t.default.$ is not a function
# ...
ember-cli-fastboot:server finished handling; url=/ +52ms As it's hard to track minified js, i've got back to development mode (this time without ember-cli-mirage) Error while processing route: index _ember.default.$ is not a function TypeError: _ember.default.$ is not a function So it looks for me like there is no JQuery ? // ...
const $body = Ember.$('body');
// ... So I've also disabled this package, and run it again this time the issue was: undefined:54304
_emberViewsSystemJquery.default(rootElement).off('.ember', '**').removeClass(ROOT_ELEMENT_CLASS);
^
TypeError: _emberViewsSystemJquery.default is not a function
at exports.default._emberRuntimeSystemObject.default.extend.destroy (<anonymous>:54304:38)
at superWrapper [as destroy] (<anonymous>:33142:22)
at <anonymous>:11902:16
at eachDestroyable (<anonymous>:12155:9)
at Object.Container.destroy (<anonymous>:11900:7)
at Object.Backburner.run (<anonymous>:11275:25)
at Object.run [as default] (<anonymous>:31176:27)
at exports.default._emberMetalMixin.Mixin.create.willDestroy (<anonymous>:43210:36)
at superWrapper (<anonymous>:33142:22)
at _emberRuntimeSystemObject.default.extend.willDestroy (<anonymous>:14474:19) and this lead me to the (bugfix made recently, available only in canary revision) I will try the canary version of ember ... |
after updating to Ember : 2.5.0-canary+551a2312 It start working well :-) Still without Error while processing route: index _ember.default.$ is not a function TypeError: _ember.default.$ is not a function
at null.addClasses (<anonymous>:67470:39) I've assume that this is an addon issue, and I'm closing this ticket. Of course I would be very glad if anyone could explain that to me :-) in details (why I came across so many errors). |
emberjs/ember.js#12829 was cherry-picked into release and beta branches as well. You can use any of the available branches at this point to get that fix. |
when trying to launch ember fastboot I've got:
and here is my env:
--- update 18/01/16 13:40 ---
I've updated to 059c0ad (master), by
ember install https://github.com/tildeio/ember-cli-fastboot.git
unfortunately still the same issue.--- update 18/01/16 13:40 ---
I've no idea where / how should I start debugging it?
The text was updated successfully, but these errors were encountered: