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

tr: warning: an unescaped backslash at end of string is not portable
disable wsl
how to run shell script in windows 10
launch windows subsystem for linux
access windows subsystem for linux
shell for windows
how to use ubuntu terminal in windows 10
how to use linux subsystem on windows 10

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

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.

bash.exe: warning: could not find /tmp, please create! · Issue #6 , I get this error when pulling from a repo: $ git pull bash.exe: warning: could not find /tmp, please create! Any ideas how to fix this? Robert. I have a newly installed copy of VS Code with a Particle Workbench extension installed from the extension panel on a Windows 10 box. I entered a blink program and compiled it locally and got a bunch of bash.exe: warning: could not find /tmp, please create! messages. Where do I need to create this directory? int led1 = D7; // setup() runs once, when the device is first turned on. void setup

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.

bash.exe: warning: could not find /tmp, please create! · Issue #61 , bash.exe: warning: could not find /tmp, please create! messages. Where do I need to create this directory? int led1 = D7; // setup() runs once,  bash.exe: warning: could not find /tmp, please create! fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Please help

Try opening a bash-shell, and then:

$ mkdir /tmp

See if that makes the warning go away.

[ISSUE] bash.exe: warning: could not find /tmp, please create! (was , bash.exe: warning: could not find /tmp, please create! make: Nothing to be done for `program'." Solution. Xygwin does not look at the TEMP variable on your  When you start Git via GitPortable.exe and then use git pull you will see the /tmp error. Try the same by directly launching Git Bash.vbs or by modifying Start Git Bash.cmd (removing the line cd App\Git) and then launching Start Git Bash.cmd. It must be related to the cd action.

To add to Necros answer, Not all windows 10 builds even come with bash

https://www.windowscentral.com/how-install-bash-shell-command-line-windows-10

bash.exe: warning: could not find /tmp, please create!, bash.exe: warning: could not find /tmp, please create! If you are getting this Warning while compilation then. Set your two environment variable  > From: Eric Blake > Sent: Wednesday, December 13, 2006 9:25 AM > To: [hidden email] > Subject: Re: bash.exe: warning: could not find /tmp, please create! > > <snip> > Yes, it is annoying that when /tmp is not mounted, and / does not contain > a physical subdirectory named tmp, that bash refuses to start.

If you're using Git for Windows, just create the directory: C:\Program Files\Git\tmp

AR# 17366: 3.2 EDK, Re: bash.exe: warning: could not find /tmp, please create!. I am trying to start cygwin and I get this error message. I understand, from what I read  bash.exe: warning: could not find /tmp, please create! Size before: test1.elf : section size addr.data 0 8388864.text 220 0.bss 0 8388864.noinit 0 8388864.eeprom 0 8454144.stab 492 0.stabstr 1123 0 Total 1835. bash.exe: warning: could not find /tmp, please create! Size after: test1.elf : section size addr

bash.exe: warning: could not find /tmp, please create!, bash.exe: warning: could not find /tmp, please create! portacle. 17 January 2019 Posted by Martin Buchmann. When I try to push my local commit to  For those of you who have run into the problem with the tmp file, while in bash, in looks for tmp at the root. So in bash, mkdir /tmp or go to the C:\ and right click, New, Folder, and name it tmp. As for the home directory, right click on "My Computer", and go to Properties, Advanced, and at the bottom, click "Environment Variables."

Re: bash.exe: warning: could not find /tmp, please create!, Hello, I get this error when pulling from a repo: $ git pull bash.exe: warning: could not find /tmp, please create! This does not happen when I open Git Bash 

Developers,

Comments
  • I tried this, it's the right answer and it worked for me. I hope who asked the question can come back to accept the answer.
  • Nice find, this worked for me when sourcetree was giving me the same error.
  • No such process on my machine... Still happens
  • Same for me as with Gulzar, no sh.exe present in the task manager (looked carefully at every running process).
  • plz describe the method. i'm a beginner