Open SerkanYildiz opened 8 years ago
Btw it's not only on the stations - departure overview, but the whole website..
Investigating
Don’t have the problem locally. Might also be a caching problem?
Don't think so, I cleared my cache and tried again, same problem. Stan had the same 404 not found with css on production
Do you have the problem locally?
Nope, locally no errors
I think there is some other caching going on as well on the server, so clearing locally won't necessary fix it.
It seems that that the page also keep on loading in seconds.
Real funky stuff.
_main.scss
file (source: https://github.com/iRail/hyperRail/blob/master/public/app/sass/main.scss#L66). So there shouldn’t be any other reference to animate.css.Is it possible that it is injected by some part of the Angular code, and only on the server (non-dev environment)?
While I was re-installing the iRail/hypeRail repo, Composer asked me this:
Unable to find a suitable version for angular, please choose one by typing one of the numbers below:
1) angular#1.2.29 which resolved to 1.2.29 and is required by hyperRail
2) angular#>=1 which resolved to 1.2.29 and is required by angular-bootstrap#0.11.2
3) angular#1.2.30 which resolved to 1.2.30 and is required by angular-animate#1.2.30
When I selected option 3. I don't have this error. Maybe that is the problem?
I don’t see any relevant fixes in the changelog though: https://github.com/angular/angular.js/blob/master/CHANGELOG.md#1230-patronal-resurrection-2016-07-21
I don't have a idea :-) AngularJS can be weird sometimes..
@SerkanYildiz well, the thing is that on my local dev environment, I don’t see the 404 error, while on the irail.be server, I do, so something must have changed between the local dev env and the server . . .
I'm getting an error on the production site, station departure overview. It's trying to load, animate.css, a file that doesn't exists.