-
Notifications
You must be signed in to change notification settings - Fork 161
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
getURL is not a function #210
Comments
Are you using ember simple auth? |
Negative, here's my package.json
|
Could you try disabling to addons one by one to figure out which one is causing the issue? |
Ah it seems ember-cli-head was cause... now to figure out why. |
Further digging has revealed it was a websockets error which I need to make compatible with fastboot anyway. |
@csheppard how exactly was that related to websockets? I've got the exact same error, and what I found out is that in https://github.com/emberjs/ember.js/blob/master/packages/ember-routing/lib/system/router.js#L148 I'm on Ember (and CLI) 2.6 and Fastboot 1.0.0-beta.4. |
The string none is changed after boot into an instance of NoneLocation. |
If you need the url on the FastBoot side, you can get the information from the |
Thanks for answering but those are not my problems. The problematic call to I've also added breakpoints to each of the places where I went through the list of my dependencies (below) and none of the addons should be messing around with Router. Removing one by one will be very tedious (given how extremly slow npm is) but if that's the only way to debug this, I can give it a try. Is it? Or maybe you've seen such problem in some circumstances? Dependencies: {
"active-model-adapter": "~>2.0",
"broccoli-asset-rev": "^2.4.2",
"ember-ajax": "^2.0.1",
"ember-api-actions": "0.1.4",
"ember-cli": "2.6.1",
"ember-cli-app-version": "^1.0.0",
"ember-cli-autoprefixer": "0.6.0",
"ember-cli-babel": "^5.1.6",
"ember-cli-dependency-checker": "^1.2.0",
"ember-cli-font-awesome": "0.1.1",
"ember-cli-google-analytics": "1.5.0",
"ember-cli-head": "0.0.7",
"ember-cli-htmlbars": "^1.0.3",
"ember-cli-htmlbars-inline-precompile": "^0.3.1",
"ember-cli-infinite-scroll": "0.4.2",
"ember-cli-inject-live-reload": "^1.4.0",
"ember-cli-jshint": "^1.0.0",
"ember-cli-qunit": "^1.4.0",
"ember-cli-release": "0.2.8",
"ember-cli-sass": "^5.0.0",
"ember-cli-sri": "^2.1.0",
"ember-cli-uglify": "^1.2.0",
"ember-data": "^2.6.0",
"ember-export-application-global": "^1.0.5",
"ember-form-builder": "1.1.1",
"ember-group-by": "0.0.3",
"ember-i18n": "^4.1.1a",
"ember-ic-you": "0.1.3",
"ember-load-initializers": "^0.5.1",
"ember-page-title": "3.0.2",
"ember-resolver": "^2.0.3",
"ember-truth-helpers": "1.2.0",
"ember-validations": "git://github.com/nibynic/ember-validations",
"jquery.scrollto": "2.1.2",
"loader.js": "^4.0.1"
} |
Well, it really is somehow related to websockets. When I comment out the code that initiates socket.io connection it works OK. As soon as I try connecting via websockets, the error comes back. It's really weird as this is not some weird addon that messes up with Ember internals but just the socket.io library. |
I am running into the same issue using fastboot with the latest version of Ember. Not using Websockets or anything, just a normal router call.
Dependencies:
|
@techsoldaten What's the export that contains line 37104 in |
@danmcclain By export, I think you mean where the code originates. It's in Ember's router. |
@techsoldaten, @piotrekbator: I had the same problem in |
Lets continue conversation on the open issue, as it seems related: #223 |
Locked to encourage converging discussion on single issue |
Hi
I am trying to run fastboot 1.0.0-beta.3 for the first time but I can't get any URLs to load. They all result in this error.
I've not had any luck investigating what the cause of this could be, anybody have any ideas?
Thanks!
The text was updated successfully, but these errors were encountered: