question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ReferenceError: error is not defined

See original GitHub issue

Hello,

Since a few days. I have these errors :

ReferenceError: error is not defined at Object.<anonymous> (/usr/lib/node_modules/homebridge-xbox-tv/node_modules/xbox-smartglass-core-node/src/smartglass.js:188:40) at EventEmitter.emit (events.js:322:22) at EventEmitter.<anonymous> (/usr/lib/node_modules/homebridge-xbox-tv/node_modules/xbox-smartglass-core-node/src/events.js:116:27) at EventEmitter.emit (events.js:310:20) at Object.<anonymous> (/usr/lib/node_modules/homebridge-xbox-tv/node_modules/xbox-smartglass-core-node/src/smartglass.js:264:30) at Socket.emit (events.js:310:20) at UDP.onMessage [as onmessage] (dgram.js:924:8)

Can you help me to solve this ?

Thank you,

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
unknownsklcommented, Apr 21, 2020

This error looks related to this issue: https://github.com/OpenXbox/xbox-smartglass-core-node/issues/26 Problem should be fixed in the new version of the library.

0reactions
grzegorz914commented, Apr 15, 2020

Sorry, but I see first time this error, please run Homebridge in debug mode -D and get the log.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ReferenceError: "x" is not defined - JavaScript - MDN Web Docs
ReferenceError: "x" is not defined. The JavaScript exception "variable is not defined" occurs when there is a non-existent variable referenced somewhere.
Read more >
ReferenceError: error is not defined - javascript - Stack Overflow
you want it to default to this error message: 'Something bad happened, try again!' Since you're new to this - try using more...
Read more >
JavaScript ReferenceError - variable is not defined
This JavaScript exception variable is not defined occurs if there is a non-existent variable that is referenced somewhere. ... Cause of Error:.
Read more >
ReferenceError: "x" is not defined - JavaScript
The JavaScript exception "variable is not defined" occurs when there is a non-existent variable referenced somewhere.
Read more >
How to Fix Uncaught ReferenceError: $ is not defined in jQuery
The most common reason behind the error "Uncaught ReferenceError: $ is not defined" is executing the jQuery code before the jQuery library file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found