MiroHibler / meteor-preloader

A Meteor "lazy-loader" for external .js and .css libraries
75 stars 3 forks source link

Error on firefox: Can't flush inside Tracker.autorun #32

Closed pwiegers closed 1 year ago

pwiegers commented 8 years ago

Hi,

you requested for nilsonivano to file a report. As it seems s/he will not do that, I will. :-)

Loading a Meteor site with the preloader installed with Firefox will fail with the error:

Can't flush inside Tracker.autorun

If I remove miro:preloader, the error is gone. I'm a /very/ inexperienced Meteor developer, so I do not know what I can do to help, but this is what I observed.

Meteor-verion: 1.3.2 Miro:preloader: 1.2.4 Firefox: 45.01/Ubuntu and OS/X

If I can be of assistence, please let me know :-)

regards, Paul

mkarliner commented 8 years ago

+1 just hit the same problem myself. Again, if you need any further information, please ask.

mkarliner commented 8 years ago

It looks to me like loadSync needs to be run inside a Tracker.nonreactive to avoid the flush caused by the XMLHttpRequest.

pwiegers commented 7 years ago

Hi @mkarliner ,

as I stated above, I'm a very inexperienced Meteor-dev. So, I have no clue as to do with your comment... :-) Do you have a new version planned that has this change? (The issue still crops up - but only on FF?)

regards,

Paul

mkarliner commented 1 year ago

Is this a record? best wishes Mike