Node always fatal errors
See original GitHub issueTrying one of the examples I just get:
svg-term --cast=113643 --out examples/parrot.svg
/Users/lukechilds/.config/yarn/global/node_modules/svg-term-cli/lib/cli.js:355
throw err;
^
TypeError: Cannot use 'in' operator to search for 'black' in undefined
at REQUIRED_COLORS.filter.key (/Users/lukechilds/.config/yarn/global/node_modules/term-schemes/lib/parsers/hyper.js:122:30)
at Array.filter (<anonymous>)
at getHyperConfigErrors (/Users/lukechilds/.config/yarn/global/node_modules/term-schemes/lib/parsers/hyper.js:122:10)
at Object.hyper (/Users/lukechilds/.config/yarn/global/node_modules/term-schemes/lib/parsers/hyper.js:23:22)
at extractTheme (/Users/lukechilds/.config/yarn/global/node_modules/svg-term-cli/lib/cli.js:292:24)
at getTheme (/Users/lukechilds/.config/yarn/global/node_modules/svg-term-cli/lib/cli.js:277:11)
at /Users/lukechilds/.config/yarn/global/node_modules/svg-term-cli/lib/cli.js:147:23
at Generator.next (<anonymous>)
at fulfilled (/Users/lukechilds/.config/yarn/global/node_modules/svg-term-cli/lib/cli.js:5:58)
at <anonymous>
I’ve tested on 2.0.4
, 2.0.3
and 2.1.0-1
. All give me the same error.
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Let It Crash: Best Practices for Handling Node.js Errors on ...
When a JavaScript error is not properly handled, an uncaughtException is emitted. These suggest the programmer has made an error, and they ...
Read more >proper way of handling fatal errors in Node.js - Stack Overflow
The question is explicitly only about fatal errors. You might want to drop the first half of your answer, everything before "If a...
Read more >Errors | Node.js v19.3.0 Documentation
Applications running in Node.js will generally experience four categories of errors: ... These errors are almost always indicative of a broken program.
Read more >A Comprehensive Guide To Error Handling In Node.js
An error in Node.js is any instance of the Error object. Common examples include built-in error classes, such as ReferenceError , RangeError ...
Read more >Node.js Error Handling Best Practices: Ship With Confidence
Want to ship your Node.js applications with confidence? Learn Node.js error handling best practices, tips and tricks with our simple guide.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for raising all those issues, this helps me improving the tool a lot 😃
That did the trick, thanks so much for your help!