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

Does not works in Windows Power Shell 6 #53

Open
GiancarlosIO opened this issue Apr 29, 2020 · 0 comments
Open

Does not works in Windows Power Shell 6 #53

GiancarlosIO opened this issue Apr 29, 2020 · 0 comments

Comments

@GiancarlosIO
Copy link

I'm getting this error when I run the code example :(

The above error occurred in the <TextInput> component:
    in TextInput (created by Context.Consumer)
    in TextInputWithStdin (created by SearchQuery)
    in div (created by Box)
    in Box (created by SearchQuery)
    in SearchQuery
    in App

React will try to recreate this component tree from scratch using the error boundary you provided, App.
(node:24992) UnhandledPromiseRejectionWarning: Error: Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.      
Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported
    at App.isEnabled (D:\*****\node_modules\ink\build\components\App.js:48:17)
    at TextInput.componentDidMount (D:\*****\node_modules\ink-text-input\build\index.js:171:5)
    at commitLifeCycles (D:\******\node_modules\react-reconciler\cjs\react-reconciler.development.js:12096:22)
    at commitLayoutEffects (D:\*****\node_modules\react-reconciler\cjs\react-reconciler.development.js:15342:7)
    at Object.invokeGuardedCallbackImpl (D:\******\node_modules\react-reconciler\cjs\react-reconciler.development.js:11563:10)
    at invokeGuardedCallback (D:\****\node_modules\react-reconciler\cjs\react-reconciler.development.js:11740:31)
    at commitRootImpl (D:\******\node_modules\react-reconciler\cjs\react-reconciler.development.js:15080:9)
    at unstable_runWithPriority (D:\******\node_modules\scheduler\cjs\scheduler.development.js:697:12)
    at runWithPriority (D:\*****\node_modules\react-reconciler\cjs\react-reconciler.development.js:1881:10)
    at commitRoot (D:\*****\node_modules\react-reconciler\cjs\react-reconciler.development.js:14920:3)
(node:24992) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:24992) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

SO: Windows 10 Pro
Terminal: PowerShell 6
Package versions:

    "ink": "^2.7.1",
    "ink-text-input": "^3.2.2",
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

1 participant