我在git bash终端中输入了“node”,然后按回车键,它显示$,无论我接下来输入什么都不会出现,是否有解决此bug/问题的方法?enter image description here
But here what ever i enter in the next line, it doesn't display
It worked on win cmd
我在git bash终端中输入了“node”,然后按回车键,它显示$,无论我接下来输入什么都不会出现,是否有解决此bug/问题的方法?enter image description here
But here what ever i enter in the next line, it doesn't display
It worked on win cmd
2条答案
按热度按时间mrwjdhj31#
请尝试
node -i
进行交互。(仅适用于windows git-bash)deikduxw2#
只需按
Ctrl+D
,您将返回到Bash,一切都将恢复正常。