Win10的Ubuntu子系统运行npm命令报错的解决方案
转载自:https://github.com/Microsoft/WSL/issues/1512 I was having this issue when running zsh with oh-my-zsh inside the WSL. but changing the PATH helped. In my ~/.bashrc I have this script to automatically go to zsh when launching bash: if test -t 1; then