Welcome to the forum.
The most likely issue is that the p5js links in the web page are no longer there. Make sure you have these links in any webpage that has a p5js sketch
<script src="https://cdn.jsdelivr.net/npm/p5@2.0.5/lib/p5.js"></script>
<script src="https://cdn.jsdelivr.net/npm/p5@2.0.5/lib/addons/p5.sound.min.js"></script>
If you are using p5js V1 then change the 2.0.5 to 1.11.10