xtermjs / xterm.js

A terminal for the web
https://xtermjs.org/
MIT License
17.44k stars 1.62k forks source link

Demo startup exception #4852

Open tisilent opened 11 months ago

tisilent commented 11 months ago

Shell not displayed.

Related to the upgrade of node pty. :scream:

tisilent commented 11 months ago

@Tyriar I looked at it and it seems to be related to ConnectNamedPipe. How long is the difference between the two 0.10.1 and 1.1.0-beta5 node-pty

Tyriar commented 11 months ago

@tisilent what version/build of Windows are you on? Did you try clearing all node modules and running yarn again?

tisilent commented 11 months ago

@Tyriar windows version 19045.3570. I tried two versions, 0.10.1 and 1.1.0-beta5, and recompiled the latest node pty. I found that I have been waiting in 'ConnectNamedPipe'.

--edit windows 10 , build 19045.3570 Can reproduce every time

tisilent commented 11 months ago

https://github.com/xtermjs/xterm.js/assets/48614781/41ca630c-8f87-4fe9-bf64-ff484dd735fd

tisilent commented 11 months ago

89

Attempting to break a breakpoint and execute will be normal. The pipeline is not very familiar...... This should belong to the issue of node-pty.