You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since updating reflex-examples to use Obelisk to run/build the examples, it looks like the examples have stopped working on Firefox.
The last commit I could find that works on Firefox is fc13182. The next few commits after that change over to use Obelisk (5825358, d18bc83, db4673f, etc). The examples stop working in Firefox at this time.
The current master also seems to be broken in Firefox.
Here's what I'm trying to do and what happens:
Run ob run in order to run the examples. Eventually it says Frontend running on http://localhost:8000/ on the console.
Note that this is in the console where I've run ob run (not Firefox's Javascript console).
Sometimes I get this message immediately. Sometimes it only shows up after clicking Basic To Do List. Sometimes I am able to successfully click the Basic To Do List link without seeing the error. A similar thing happens if I just immediately go to http://localhost:8000/examples/basictodo and try to enter text.
I don't see any errors in the browser console.
At this point the browser becomes unresponsive and no links respond to click. I can't do anything here.
I also tried running nix-build and opening ./result/ghcjs/frontend/bin/frontend.jsexe/index.html directly in Firefox, but nothing shows on the screen.
ob run uses jsaddle-warp which doesn't work stably in Firefox. This is a known issue and will hopefully be fixed eventually. For now you'll have to use Chrome for development with ob run.
I guess this issue (#30) can be closed, since it is an upstream problem, but it would be nice for the README to be updated with a note about ob run not working on Firefox.
As a work-around, I was able to run the server directly by following the directions from the obelisk README:
Since updating reflex-examples to use Obelisk to run/build the examples, it looks like the examples have stopped working on Firefox.
The last commit I could find that works on Firefox is fc13182. The next few commits after that change over to use Obelisk (5825358, d18bc83, db4673f, etc). The examples stop working in Firefox at this time.
The current
master
also seems to be broken in Firefox.Here's what I'm trying to do and what happens:
Run
ob run
in order to run the examples. Eventually it saysFrontend running on http://localhost:8000/
on the console.I open http://localhost:8000 in Firefox. This displays a page that looks just like https://examples.reflex-frp.org/.
However, in my terminal, I get the following message:
Note that this is in the console where I've run
ob run
(not Firefox's Javascript console).Sometimes I get this message immediately. Sometimes it only shows up after clicking
Basic To Do List
. Sometimes I am able to successfully click theBasic To Do List
link without seeing the error. A similar thing happens if I just immediately go to http://localhost:8000/examples/basictodo and try to enter text.I don't see any errors in the browser console.
At this point the browser becomes unresponsive and no links respond to click. I can't do anything here.
I also tried running
nix-build
and opening./result/ghcjs/frontend/bin/frontend.jsexe/index.html
directly in Firefox, but nothing shows on the screen.Pinging @dfordivam.
However, for some reason I don't seem to have any problem with the https://examples.reflex-frp.org site, so I'm not sure what is going on here.
The text was updated successfully, but these errors were encountered: