I go to the site, see the interface and then its crashes
pi@raspibureau:~/Documents/Sonos $ node server.js
no settings file found, will only use default settings
http server listening on port 8080
fetching album art from undefined
fetching album art from undefined
fetching album art from undefined
fetching album art from undefined
fetching album art from undefined
fetching album art from undefined
200
fs.js:135
throw new ERR_INVALID_CALLBACK(cb);
^
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
at maybeCallback (fs.js:135:9)
at Object.exists (fs.js:199:3)
at ClientRequest. (/home/pi/Documents/Sonos/server.js:58:19)
at Object.onceWrapper (events.js:300:26)
at ClientRequest.emit (events.js:210:5)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:583:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:115:17)
at Socket.socketOnData (_http_client.js:456:22)
at Socket.emit (events.js:210:5)
at addChunk (_stream_readable.js:309:12) {
code: 'ERR_INVALID_CALLBACK'
}
pi@raspibureau:~/Documents/Sonos $
I go to the site, see the interface and then its crashes
pi@raspibureau:~/Documents/Sonos $ node server.js no settings file found, will only use default settings http server listening on port 8080 fetching album art from undefined fetching album art from undefined fetching album art from undefined fetching album art from undefined fetching album art from undefined fetching album art from undefined 200 fs.js:135 throw new ERR_INVALID_CALLBACK(cb); ^
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined at maybeCallback (fs.js:135:9) at Object.exists (fs.js:199:3) at ClientRequest. (/home/pi/Documents/Sonos/server.js:58:19)
at Object.onceWrapper (events.js:300:26)
at ClientRequest.emit (events.js:210:5)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:583:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:115:17)
at Socket.socketOnData (_http_client.js:456:22)
at Socket.emit (events.js:210:5)
at addChunk (_stream_readable.js:309:12) {
code: 'ERR_INVALID_CALLBACK'
}
pi@raspibureau:~/Documents/Sonos $