# Issue with Chrome and Edge Browsers not displaying sketches

**URL:** <https://discourse.processing.org/t/issue-with-chrome-and-edge-browsers-not-displaying-sketches/27587>\
**Category:** p5.js\
**Created:** [February 4, 2021, 4:37pm UTC](https://discourse.processing.org/t/issue-with-chrome-and-edge-browsers-not-displaying-sketches/27587 "2021-02-04T16:37:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GeorgeRoland](https://avatars.discourse-cdn.com/v4/letter/g/5daacb/32.png) [@GeorgeRoland](https://discourse.processing.org/u/GeorgeRoland)\
**Post date:** [February 4, 2021, 4:37pm UTC](https://discourse.processing.org/t/issue-with-chrome-and-edge-browsers-not-displaying-sketches/27587/1 "2021-02-04T16:37:48Z")

</div>

My sketches will not play in Chrome or Edge. I get a blank white screen. I found that if I remove the reference to “p5.sound.min.js” that is included in the HTML file P5 creates, these sketches load and play fine in Chrome and Edge.

---

<div class="post-metadata">

**Author:** ![Pr0tonX](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/pr0tonx/32/2590_2.png) [@Pr0tonX](https://discourse.processing.org/u/Pr0tonX)\
**Post date:** [February 4, 2021, 9:26pm UTC](https://discourse.processing.org/t/issue-with-chrome-and-edge-browsers-not-displaying-sketches/27587/2 "2021-02-04T21:26:06Z")

</div>

Can you show your console when you encounter this issue ? If you P5.sound file isn’t corrupted, it’s weird

(Right click and “Inspect” on Chrome)

PS: I recommend you to avoid Edge to test P5js. Even if it is now a chromium based browser and it is way better than its oldest versions, it is still late on implementations of some CSS/JS features.

---

<div class="post-metadata">

**Author:** ![iana](https://avatars.discourse-cdn.com/v4/letter/i/a87d85/32.png) [@iana](https://discourse.processing.org/u/iana)\
**Post date:** [June 28, 2022, 1:05am UTC](https://discourse.processing.org/t/issue-with-chrome-and-edge-browsers-not-displaying-sketches/27587/3 "2022-06-28T01:05:41Z")

</div>

This still seems to be an issue that has not been fixed in the update of the sound library to v1.01 in May 2021.  
Chromium browsers don’t loads the sketch. Console error:  
p5.sound.min.js:2 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘addModule’)  
at p5.sound.min.js:2:98453  
at Array.map ()  
at p5. (p5.sound.min.js:2:98338)  
at p5. (p5.js:63190:21)  
at Array.forEach ()  
at new p5 (p5.js:63188:44)  
at \_globalInit (p5.js:62189:17)

---

<div class="post-metadata">

**Author:** ![jason.rafe.miller](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@jason.rafe.miller](https://discourse.processing.org/u/jason.rafe.miller)\
**Post date:** [September 2, 2025, 11:43am UTC](https://discourse.processing.org/t/issue-with-chrome-and-edge-browsers-not-displaying-sketches/27587/4 "2025-09-02T11:43:43Z")

</div>

This is still an issue. My sketch was created with the online editor, downloaded, unzipped, then opened with a browser using file / open / index.html. In Firefox 128.12.0esr (Mac), the sketch looks fine. In Chrome 139.0.7258.155 (Mac), or Brave 1.81.137 (with shields down), the page just says “Loading…”. Following the advice above, I deleted the reference to “p5.sound.min.js” in index.html, reloaded, and it worked fine in all browsers.
