Closed yosion-p closed 3 years ago
Hi @yosion-p
it sounds like a "known" issue regarding the isTTY
check on windows systems (cmd.exe, gitbash). it's caused by the invocation by the .bat
file instead of a direct call via node interpreter.
in the past, the issue didn't appeared in PowerShell.
Hi @yosion-p
it sounds like a "known" issue regarding the
isTTY
check on windows systems (cmd.exe, gitbash). it's caused by the invocation by the.bat
file instead of a direct call via node interpreter.in the past, the issue didn't appeared in PowerShell.
Thank you for your reply; Indeed, the issue only appears on gitbash.
Describe : We used cli-progress in the project, which is normal in the development environment; Then we released our project on NPM, ran it with the project on NPM, and found that the progress bar cannot be displayed on gitbash; This is the NPM link for our project:https://www.npmjs.com/package/@originjs/webpack-to-vite; and this is our Repository: https://github.com/originjs/webpack-to-vite;
How To Reproduce:
The first line of command in the picture uses the development environment, and the result is normal;
node ./dist/bin/index -d ../project-to-test/vue-manage-system
The second line of code is the package published after NPM, and the progress bar is not displayed。webpack-to-vite -d ../project-to-test/vue-manage-system
Environment Version Description: OS: windows 64 gitBash: Git-2.31.1-64-bit Repository of Conversion project:https://github.com/lin-xin/vue-manage-system.git (branch is dev)
========That's all=========