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.

Usage example doesn't work

See original GitHub issue

Summary

  • Ink works
  • Usage example in ink-text-input does not work
  • Error: “stdin.setRawMode is not a function”

Ink is working as expected

input a_code_demo

output a_output_demo

ink-text-input “Usage” example is not working

Error: “stdin.setRawMode is not a function”

input b_code_TextInput

output b_output_TextInput

ink-text-input after implementing componentDidCatch

Did this to address the error bounds request in previous error message

input c_code_componentDidCatch

output c_output_componentDidCatch1

c_output_componentDidCatch2

Possibly related to https://github.com/vadimdemedes/ink/issues/166

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
alechpcommented, Mar 31, 2019

@vadimdemedes Roger.

For anyone else running into the same issue with nodemon specifically, add the --no-stdin flag.

Reference: https://github.com/remy/nodemon/issues/1367

Example:

"dev:liveReloadedModule": "nodemon --no-stdin --watch src/index.js --exec 'babel-node src/index.js'",
1reaction
vadimdemedescommented, Mar 31, 2019

@mAAdhaTTah is right, any component that expects to read from stdin won’t work if you’re not executing it directly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use does not work in a sentence - Examples - Bab.la
How to use "does not work" in a sentence? · Does it work? · But does it work? · But it does not...
Read more >
Is there any difference between "it's not working" and "it doesn ...
"It doesn't work" means that something is permanently broken, or is never effective. Here are some example situations: Your television is broken. A...
Read more >
The best 500 doesn-t sentence examples - YourDictionary
The most voted sentence example for doesn-t is She doesn't have any reason to... ... No, he's working on something and doesn't want...
Read more >
$(this) doesn't work in a function - Stack Overflow
If you want to reuse the target of your plugin, store (capture) it in a local variable and use that. $.fn.loadWithoutCache = function...
Read more >
Excel Formulas Not Working: Possible Reasons and How to ...
Below is a simple example, where I use the SUM formula in cell A4 while using it in the calculation itself. =SUM(A1:A4). Although...
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