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

nw ls-remote error #26

Open
KamGor opened this issue Jun 25, 2017 · 3 comments
Open

nw ls-remote error #26

KamGor opened this issue Jun 25, 2017 · 3 comments
Assignees

Comments

@KamGor
Copy link

KamGor commented Jun 25, 2017

Errors after ls-remote command:

(node:1580) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: process.stdout.clearLine is not a function
(node:1580) [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.
@fritx fritx self-assigned this Jun 26, 2017
@fritx
Copy link
Collaborator

fritx commented Jun 26, 2017

Hi @KamGor , looks like it's from https://github.com/egoist/io-spin/blob/master/spin.js#L25 .
Maybe you can try node <= 7 as workaround?

@fritx
Copy link
Collaborator

fritx commented Jun 26, 2017

Related issues: lerna/lerna#164, rafaelrinaldi/log-output-node#1, https://stackoverflow.com/questions/34570452/node-js-stdout-clearline-and-cursorto-functions

It seems we should add a process.stdout.isTTY detection or use readline.clearLine instead?

@tdaniely
Copy link

Got this on MSYS2, works on CMD.

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

3 participants