ProtoSchool / protoschool.github.io

The code that runs the ProtoSchool website. Visit https://proto.school for interactive tutorials on decentralized web protocols. Explore IPFS and Filecoin through code challenges, code-free lessons, and local events.
https://proto.school
Other
166 stars 67 forks source link

Bug: Lesson pages looping, never loads #738

Open mishmosh opened 3 years ago

mishmosh commented 3 years ago

Describe the bug When trying to click in to a lesson page from Protoschool, the page never loads. It appears to be looping through some js at loading time.

Does this bug apply to a specific lesson or tutorial, or does it appear to be sitewide? Observed on all lesson pages, e.g. https://proto.school/merkle-dags/05

Expected behavior Page should load correctly.

To reproduce

Desktop (please complete the following information):

Smartphone (please complete the following information) n/a

Additional context On Wed Oct 27, I observed this on Chrome and @thediscordian confirmed it worked correctly on Brave & Firefox. On Thu Oct 28, it worked correctly for me on Chrome while another MrRobot on Discord confirmed they were experiencing the error on Firefox.

Hey, hit proto-school again this morning from Firefox and got thee same looping issue on any lesson I hit. One thing I remember now... At one point I wanted to go back to another lesson and just changed the lesson number in the URL. It went back no problem. But! It may have been after that the problem started. I can't recall if it was exactly then however.

zebateira commented 3 years ago

This is weird. I can't reproduce this. Would be helpful to know in which version of the OS and Chrome this is happening?

rwreynolds commented 3 years ago

This is the initial report of this issue I made on the discord channel.

Pretty much any lesson link in the proto-school tuts will do it now. This one is looping on my machine now. [9:55 AM] https://proto.school/introduction-to-libp2p/01/ [9:56 AM] Opened up the console and received these errors. [9:56 AM] Uncaught SyntaxError: missing } after function body lessons~resources.b1f7d577.js:6:1820047note: { opened at line 6, column 1819940lessons~resources.b1f7d577.js:6:1819940 This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. 01 Loading failed for the Githubissues.

  • Githubissues is a development platform for aggregating issues.