console running WSL is unresponsive when running program with lots of output #288

Open
opened 2026-01-30 21:48:02 +00:00 by claunia · 0 comments
Owner

Originally created by @matthargett on GitHub (May 31, 2018).

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    Microsoft Windows [Version 10.0.17134.81]
matt@DESKTOP-JN6UUK7:~$ uname -a
Linux DESKTOP-JN6UUK7 4.4.0-17134-Microsoft #81-Microsoft Sun May 20 01:14:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
matt@DESKTOP-JN6UUK7:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04 LTS
Release:        18.04
Codename:       bionic

This is on a Surface Book 2, happens when on battery or connected to power. There is no external display attached.

  • What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)

In WSL for Ubuntu 18.04, do the following:

  1. Install nvs using the Linux instructions and choose 8.11.x as the version to install: https://github.com/jasongin/nvs#mac-linux
  2. sudo apt-get install git and clone react-native-windows. git clone https://github.com/Microsoft/react-native-windows
  3. cd into the react-native-windows directory and run npm install
  4. run node_modules/.bin/eslint .
  • What's wrong / what should be happening instead:

eslint has thousands of warnings. Try and control+C to break out of eslint. It won't work.

try to click the close button on the WSL console Window. it doesn't response. the eslint output just keeps going and going.

walk away for 20-30 minutes. when eslint stops running, you'll see the control+C and/or window close finally take effect.

Originally created by @matthargett on GitHub (May 31, 2018). * Your Windows build number: (Type `ver` at a Windows Command Prompt) Microsoft Windows [Version 10.0.17134.81] ``` matt@DESKTOP-JN6UUK7:~$ uname -a Linux DESKTOP-JN6UUK7 4.4.0-17134-Microsoft #81-Microsoft Sun May 20 01:14:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux matt@DESKTOP-JN6UUK7:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04 LTS Release: 18.04 Codename: bionic ``` This is on a Surface Book 2, happens when on battery or connected to power. There is no external display attached. * What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots) In WSL for Ubuntu 18.04, do the following: 1. Install nvs using the Linux instructions and choose 8.11.x as the version to install: https://github.com/jasongin/nvs#mac-linux 2. `sudo apt-get install git` and clone react-native-windows. `git clone https://github.com/Microsoft/react-native-windows` 3. cd into the react-native-windows directory and run `npm install` 4. run `node_modules/.bin/eslint .` * What's wrong / what should be happening instead: eslint has thousands of warnings. Try and control+C to break out of eslint. It won't work. try to click the close button on the WSL console Window. it doesn't response. the eslint output just keeps going and going. walk away for 20-30 minutes. when eslint stops running, you'll see the control+C and/or window close finally take effect.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#288