# P5.js not working on Google Chrome nor Opera ( Cannot read property 'addModule' )

**URL:** <https://discourse.processing.org/t/p5-js-not-working-on-google-chrome-nor-opera-cannot-read-property-addmodule/26299>\
**Category:** p5.js\
**Created:** [December 16, 2020, 12:32pm UTC](https://discourse.processing.org/t/p5-js-not-working-on-google-chrome-nor-opera-cannot-read-property-addmodule/26299 "2020-12-16T12:32:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cublidouble](https://avatars.discourse-cdn.com/v4/letter/c/db5fbb/32.png) [@cublidouble](https://discourse.processing.org/u/cublidouble)\
**Post date:** [December 16, 2020, 12:32pm UTC](https://discourse.processing.org/t/p5-js-not-working-on-google-chrome-nor-opera-cannot-read-property-addmodule/26299/1 "2020-12-16T12:32:25Z")

</div>

Hey,  
I am pretty new to this, but ive been dealing with this problem of my p5.js not showing up on Chrome or Opera. It works on Windows IE and Safari totally fine. Got any suggestions or is there a fix?  
Thanks a lot, leaving console message from Chrome here:

Uncaught (in promise) TypeError: Cannot read property ‘addModule’ of undefined  
at p5.sound.min.js:2  
at Array.map ()  
at \_. (p5.sound.min.js:2)  
at \_. (p5.min.js:3)  
at Array.forEach ()  
at new \_ (p5.min.js:3)  
at p5.min.js:3

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [December 18, 2020, 1:12pm UTC](https://discourse.processing.org/t/p5-js-not-working-on-google-chrome-nor-opera-cannot-read-property-addmodule/26299/2 "2020-12-18T13:12:46Z")

</div>

Hi,

Welcome to the community! 😉

In order for us to help you, could you provide the following information :

- Operating system and version

- Source code or project libraries used (or the line producing the error)

- p5hs version
