bash.exe: warning: could not find /tmp, please cre

2019-06-16 20:34发布

why my sublime text giving me warning: bash.exe: warning: could not find /tmp, please create

although it is building and running the code correctly.

Please help me just got irritated by seeing this warning.

I have searched the whole web but i couldn't find any solution

3条回答
劳资没心,怎么记你
2楼-- · 2019-06-16 21:08

This error message is misleading. At least for me it did not solve the problem after creating /tmp directory. Problem was solved after I killed sh.exe.

查看更多
欢心
3楼-- · 2019-06-16 21:14

Try opening a bash-shell, and then:

$ mkdir /tmp

See if that makes the warning go away.

查看更多
Luminary・发光体
4楼-- · 2019-06-16 21:15

To piggyback on Kode Charlie's answer:

Open Start Menu

Type "cmd"

Press Enter

type "bash"

Press Enter

type "mkdir /tmp"

Press Enter

Close the command prompt window

Solved the error for me in Sublime Text 2.

查看更多
登录 后发表回答