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

Error: process.stdin.setRawMode does not exist #23

Open
Tobbe opened this issue Nov 4, 2019 · 0 comments
Open

Error: process.stdin.setRawMode does not exist #23

Tobbe opened this issue Nov 4, 2019 · 0 comments

Comments

@Tobbe
Copy link

Tobbe commented Nov 4, 2019

I can't start jay

When I first tried starting it, I got this:

$ npx -p jay-repl jay
npx: installed 175 in 19.921s
node v10.9.0 npm@6.2.0 jay-repl@0.2.2
jay is getting plugin support! Help us make the API suit you: https://github.com/nikersify/jay/pull/18
(node:20672) UnhandledPromiseRejectionWarning: Error: process.stdin.setRawMode does not exist
    at resolve (C:\Users\tobbe\AppData\Roaming\npm-cache\_npx\36004\node_modules\jay-repl\dist\prompt.js:67:19)
    at new Promise (<anonymous>)
    at Object.promptLine [as default] (C:\Users\tobbe\AppData\Roaming\npm-cache\_npx\36004\node_modules\jay-repl\dist\prompt.js:63:12)
    at C:\Users\tobbe\AppData\Roaming\npm-cache\_npx\36004\node_modules\jay-repl\dist\cli.js:112:66
    at Generator.next (<anonymous>)
    at C:\Users\tobbe\AppData\Roaming\npm-cache\_npx\36004\node_modules\jay-repl\dist\cli.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Users\tobbe\AppData\Roaming\npm-cache\_npx\36004\node_modules\jay-repl\dist\cli.js:4:12)
    at processPrompt (C:\Users\tobbe\AppData\Roaming\npm-cache\_npx\36004\node_modules\jay-repl\dist\cli.js:111:20)
    at C:\Users\tobbe\AppData\Roaming\npm-cache\_npx\36004\node_modules\jay-repl\dist\cli.js:172:9
(node:20672) 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: 2)
(node:20672) [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.

Thought that maybe it was because I was on an old version of Node, so I upgraded. Still getting the same error :(

$ npx -p jay-repl jay
npx: installed 175 in 15.339s
node v13.0.1 npm@6.12.0 jay-repl@0.2.2
jay is getting plugin support! Help us make the API suit you: https://github.com/nikersify/jay/pull/18
(node:35284) UnhandledPromiseRejectionWarning: Error: process.stdin.setRawMode does not exist
    at C:\Users\tobbe\AppData\Roaming\npm-cache\_npx\27480\node_modules\jay-repl\dist\prompt.js:67:19
    at new Promise (<anonymous>)
    at Object.promptLine [as default] (C:\Users\tobbe\AppData\Roaming\npm-cache\_npx\27480\node_modules\jay-repl\dist\prompt.js:63:12)
    at C:\Users\tobbe\AppData\Roaming\npm-cache\_npx\27480\node_modules\jay-repl\dist\cli.js:112:66
    at Generator.next (<anonymous>)
    at C:\Users\tobbe\AppData\Roaming\npm-cache\_npx\27480\node_modules\jay-repl\dist\cli.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Users\tobbe\AppData\Roaming\npm-cache\_npx\27480\node_modules\jay-repl\dist\cli.js:4:12)
    at processPrompt (C:\Users\tobbe\AppData\Roaming\npm-cache\_npx\27480\node_modules\jay-repl\dist\cli.js:111:20)
    at C:\Users\tobbe\AppData\Roaming\npm-cache\_npx\27480\node_modules\jay-repl\dist\cli.js:172:9
(node:35284) 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: 2)
(node:35284) [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.

Windows 10, git-bash

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