In order for this get it run, you also need a Serial Server to pass Arduino signal to P5
You might choose either with an GUI App or from cmd
visit: https://github.com/vanevery/p5.serialcontrol/releases
see https://github.com/vanevery/p5.serialport#p5serial-nodejs for more
$ npm install p5.serialserver
$ node startserver.js