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

Repeated crashing soon after track recognition #10

Open
DrTexx opened this issue Aug 24, 2019 · 1 comment
Open

Repeated crashing soon after track recognition #10

DrTexx opened this issue Aug 24, 2019 · 1 comment

Comments

@DrTexx
Copy link

DrTexx commented Aug 24, 2019

Brief overview

This occurs a large percentage of the time. I have gotten the light bulbs to work about 3 times in a row after disabling my firewall, however they've stopped working again since with this same issue.

Computer information

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
$ npm -v
5.8.0

Output from error

[...]
New track: Reaching Out by Bassnectar
/home/denver/github/spotify-lifx-visualiser/services/lights.js:214
    beatTimer.clearTimeout();
              ^

TypeError: Cannot read property 'clearTimeout' of undefined
    at updateBeatNum (/home/denver/github/spotify-lifx-visualiser/services/lights.js:214:15)
    at /home/denver/github/spotify-lifx-visualiser/services/lights.js:203:9
    at Request._callback (/home/denver/github/spotify-lifx-visualiser/services/spotify.js:28:20)
    at Request.self.callback (/home/denver/github/spotify-lifx-visualiser/node_modules/request/request.js:185:22)
    at Request.emit (events.js:189:13)
    at Request.<anonymous> (/home/denver/github/spotify-lifx-visualiser/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:189:13)
    at IncomingMessage.<anonymous> (/home/denver/github/spotify-lifx-visualiser/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:277:13)
    at IncomingMessage.emit (events.js:194:15)
    at endReadableNT (_stream_readable.js:1103:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
[nodemon] app crashed - waiting for file changes before starting...

Please let me know if you need any further information or if I've missed something obvious, I would love to check this out finally working and would love to also potentially contribute in future.

@tudddorrr
Copy link
Owner

Hey there, I just pushed a possible fix if you want to pull down. Let me know if that works.

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

2 participants