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.

Variable "console" is not defined!

See original GitHub issue

Trying to setup a basic hello world program fails with the error Variable "console" is not defined!. I’ve created a repo for this example here: https://github.com/Yamboy1/hegel-test. How do I get the console to work? image

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
richardaumcommented, Nov 14, 2020

Not directly related to the browser environment. Node also has console global variable. Any plans to release this support? Loving this tool so much ❤️

0reactions
JSMonkcommented, Dec 5, 2020

@richardaum It’s already solved for Node.js, as I remember

Read more comments on GitHub >

github_iconTop Results From Across the Web

Internet Explorer: "console is not defined" Error - Stack Overflow
If console itself doesn't exist at all, it throws an error because you're accessing an undefined variable. Just like if(abc) {} throws an ......
Read more >
ReferenceError: "x" is not defined - JavaScript - MDN Web Docs
The JavaScript exception "variable is not defined" occurs when there is a non-existent variable referenced somewhere.
Read more >
JavaScript Reference Errors - Meticulous
When a variable reference cannot be found or is not declared, it causes a reference ... console.log(a) // ReferenceError a is not defined....
Read more >
ReferenceError: answer is not defined - Online experiments
Hi, I ran into the error of ReferenceError: answer is not defined showed up in the ... I guess you refer to the...
Read more >
What does the JavaScript error 'console is undefined' mean ...
FIrst - what the error message means - It means that the object doesn't have a property(field/attribute/variable) or method(function) by that name at...
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