I am having a very annoying issue with git bash for windows.
When first lauching git bash, everything works fine, but after I type in node -v
to check the nodejs version, nothing is returned and every subsequent text I type in is not displayed (although when pressing enter these commands' outputs get displayed).
In the image below I ran the commands in this order: - node -v (no output) - npm -v (no input displayed) - git --version (no input displayed)
Everything started with a SIGFAULT error when running any node or npm command. After unninstalling git for windows and installing again, it is working like this.
But, when I use the bash as a attached terminal for vscode, I get these errors in every command I run:
Attached terminal throwing Segmentation fault error
How can I solve it?