try this pins
// NodeMCU ESP8266 SPI1.setup({sck:NodeMCU.D5,mosi:NodeMCU.D7,baud:100000}); // Native ESP8266 SPI1.setup({sck:D14,mosi:D13,baud:100000});
He is using an esp-01 so won't have those pins!
@Wilberforce started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
try this pins