Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after seconds #68

Open
dannymertens opened this issue Feb 19, 2020 · 3 comments
Open

Error after seconds #68

dannymertens opened this issue Feb 19, 2020 · 3 comments

Comments

@dannymertens
Copy link

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 $

@miamijerry
Copy link

Try earlier version of nodejs, like node-v8.11.3-x64
Worked for me.

@puzio0
Copy link

puzio0 commented May 29, 2020

I am having the same issue. On node v10. Will try to downgrade and test.

@puzio0
Copy link

puzio0 commented May 29, 2020

This worked. Thank you. Running V8.11.3 and it's working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants