uni-app Hbuilderx使用命令行窗口打开所在目录内置终端不可输入

uni-app Hbuilderx使用命令行窗口打开所在目录内置终端不可输入

开发环境 版本号 项目创建方式
Windows win10 -
### 操作步骤:
- 使用命令行窗口打开所在目录

### 预期结果:
- 命令行窗口未打开,内置终端不可输入文字,点击设置-日志,会看到报错。

### 实际结果:
- 切换版本和卸载与重装内置终端依然都不可使用

### bug描述:
2021-07-14 14:20:07.934 [INFO:] TerminalServer log begin  

2021-07-14 144:20:07.935 [INFO:] standard out is:  "powershell:false\n"  

2021-07-14 14:20:07.935 [INFO:] hbuilderx handled result:  "powershell:false\n"  

2021-07-14 14:20:08.753 [INFO:] TerminalServer log begin  

2021-07-14 14:20:08.753 [INFO:] standard out is:  "hbuilderx:51607736:\u0001[270,8]\n"  

2021-07-14 14:20:08.753 [INFO:] hbuilderx handled result:  "\u0001[270,8]\n"  

2021-07-14 14:20:08.761 [WARNING:] TerminalServer error:  events.js:291  
throw er; // Unhandled 'error' event  
^  

Error: connect ENOENT \.\pipe\winpty-conin-10648-1-1d778784b66d351-dc4bbb4d34caa217a2e9cb2172e31ece  
at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1144:16)  
Emitted 'error' event on Socket instance at:  
at emitErrorNT (internal/streams/destroy.js:92:8)  
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)  
at processTicksAndRejections (internal/process/task_queues.js:84:21) {  
errno: 'ENOENT',  
code: 'ENOENT',  
syscall: 'connect',  
address: '\\.\pipe\winpty-conin-10648-1-1d778784b66d351-dc4bbb4d34caa217a2e9cb2172e31ece'  
}  

更多关于uni-app Hbuilderx使用命令行窗口打开所在目录内置终端不可输入的实战教程也可以访问 https://www.itying.com/category-93-b0.html

回到顶部