Open LukeWoodward opened 7 years ago
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!
Here is what to expect next, and if anyone wants to comment, keep these things in mind.
Having the same issue, but in a different situation. When I run elm-test
I get the output saying that elm-make can't create /dev
directory (running elm-test from Git Bash).
Sample run, starting with the directory not existing:
For completeness,
Zero.elm
isbut to be honest any valid Elm file will do.
The
dev
folder gets created on the user's current drive. In the above exampleC:\dev
got created because my current drive wasC:
. However, no file with the namenull
gets created in this folder.If you lack permission to create a folder in the root of your current drive, it is likely that elm-make will fail with a permission-denied error, which seems somewhat odd.
It seems the issue is with the
generate
function insrc/Pipeline/Generate.hs
. This function understands that the output file can be/dev/null
, and doesn't write to a file in this situation, but it still attempts to create the parent directory of this file if it doesn't already exist. And on Windows there isn't always a folder nameddev
in the root of the current drive.I'm using Elm 0.18 on Windows 10.