-
Notifications
You must be signed in to change notification settings - Fork 4
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
Cannot open debug version with mac + safari #508
Comments
@zepumph and I built a local version with http://localhost/main/ratio-and-proportion/build/phet/ratio-and-proportion_all_phet_debug.html We also observed that for the local and published versions, the sim launched with no problems when the JS console was open, and failed with that error when the JS console was closed. Keyword: heisenbug UPDATE: @zepumph and I tested further, and have narrowed it down like this: When you have a |
We are in uncharted waters. The google search Our paths forward:
Also, phet-io's debug version always runs babel transpilation step and does not exhibit these bugs. Let's touch base at dev meeting. We can escalate to status meeting if necessary (hopefully not). |
I also want to add that we updated to webpack 5.74 and the problem still persisted. |
Dev meeting: we'll add minimal transpilation, AND notify webpack. |
@samreid will you please pull all and confirm this is fixed to unblock this issue? |
I pulled, inspected the commit, built with |
Yes that seems right to me, if I felt like I was <1 hour to a simple, reproducible case to give to webpack, then I think it would be worth it, but this workaround seems more than reasonable given our current priorities and schedule. Closing |
Noting that Safari 16 was released today. I tested https://phet-dev.colorado.edu/html/ratio-and-proportion/1.2.0-dev.31/phet/ratio-and-proportion_all_phet_debug.html with dev tools closed and cache empty, and it worked OK on safari Version 16.0 (17614.1.25.9.10, 17614). @zepumph should we change anything? |
If that is the case, I think we should revert the commit. I did so above. Can you please pull and build locally and confirm things still have the behavior you expect? |
I made a fresh build of RAP and tested with empty cache and dev tools closed on Safari Version 16.0 (17614.1.25.9.10, 17614), and it worked OK. Closing. |
Test device
MacBook Air m1 chip
Operating System
macOS 12.5.1
Browser
Safari 15.6.1
Problem description
For phetsims/qa#831 but also seen in other recent tests (ex. phetsims/qa#830), the debug version doesn't open with safari. An error message appears in the console. It also happens after I build a version on master.
This was reproduced by @samreid as well on 9/1. From slack:
The text was updated successfully, but these errors were encountered: