I think there is a mistake here. The module names are case sensitive so Wi-Fi should be:
var wifi = require ("Wifi")
© Espruino, powered by microcosm.
Report a problem