Running p5.js sketch error

You may try out OpenProcessing instead: :cowboy_hat_face:

Or simply use any Firefox-based browser to open your “index.html” file: :money_mouth_face:

You can use this minimal “index.html” template btW: :innocent:

<script defer src=https://CDN.JsDelivr.net/npm/p5></script>
<script defer src=sketch.js></script>