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

vite doesn't work without tty #11262

Closed
7 tasks done
sapphi-red opened this issue Dec 8, 2022 · 0 comments · Fixed by #11263
Closed
7 tasks done

vite doesn't work without tty #11262

sapphi-red opened this issue Dec 8, 2022 · 0 comments · Fixed by #11263
Labels
p3-minor-bug An edge case that only affects very specific usage (priority) regression The issue only appears after a new release

Comments

@sapphi-red
Copy link
Member

Describe the bug

npm run dev </dev/null |& cat fails to start.

This happens from 4.0.0-beta.4+. related: #11228
Commenting out this line worked.
https://github.com/vitejs/vite/pull/11228/files#diff-81b44da793ec59783061d131cf17007aad50237eb09f4f648eb68b2dd6f009b9R76

Reproduction

https://vite.new

Steps to reproduce

  1. npm init vite@latest and change to use Vite 4.0.0-beta.4
  2. npm i
  3. npm run dev </dev/null |& cat

I reproduced this with both Windows + Docker (Hyper-V backend) and WSL (Ubuntu 20.04).

System Info

System:
    OS: Linux 4.4 Ubuntu 20.04.5 LTS (Focal Fossa)
    CPU: (24) x64 AMD Ryzen 9 5900X 12-Core Processor
    Memory: 9.18 GB / 31.92 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 16.15.0 - ~/.nodenv/versions/16.15.0/bin/node
    Yarn: 1.22.19 - ~/.nodenv/versions/16.15.0/bin/yarn
    npm: 8.5.5 - ~/.nodenv/versions/16.15.0/bin/npm
  npmPackages:
    vite: ^4.0.0-beta.4 => 4.0.0-beta.5

Used Package Manager

npm

Logs

No response

Validations

@sapphi-red sapphi-red added pending triage p3-minor-bug An edge case that only affects very specific usage (priority) regression The issue only appears after a new release labels Dec 8, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p3-minor-bug An edge case that only affects very specific usage (priority) regression The issue only appears after a new release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant