Hi
I have done a little tutorial on how to set up a “node / express” working environment, serving static p5 and tone files.
I leave the link in case someone can help you:
https://github.com/computermusicneix/ToneP5-init/blob/master/README