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

"process.stdout" doesn't implement "WriteStream" #2322

Closed
bartlomieju opened this issue Jun 8, 2022 · 0 comments
Closed

"process.stdout" doesn't implement "WriteStream" #2322

bartlomieju opened this issue Jun 8, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bartlomieju
Copy link
Member

bartlomieju commented Jun 8, 2022

process.stdout in node/ doesn't implement WriteStream class and WriteStream class has no implementation: https://github.com/denoland/deno_std/blob/a9052a287318369febe318de9e2541fc83bc5bb4/node/tty.ts#L17-L22

This was surfaced when trying to run Vite in compat mode, namely process.stdout.clearLine() and process.stdout.cursorTo() are not available.

Ref https://twitter.com/biwanczuk/status/1534351304306397184

Ref #2055

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants