gdotdesign / elm-ui

UI library for making web applications with Elm
https://elm-ui.netlify.com
BSD 2-Clause "Simplified" License
920 stars 39 forks source link

Elm ui setup does not handle whitespace in path? #39

Closed peterhartman closed 7 years ago

peterhartman commented 7 years ago

When I follow the instructions on the homepage (http://elm-ui.info/)

I get the following error: "You have errors in of your Elm file(s): elm-make: /Users/phartman/Documents/OneDrive: openFile: does not exist (No such file or directory)"

Where OneDrive is the first part of a directory name containing whitespace.

gdotdesign commented 7 years ago

Probably this is a bug here https://github.com/gdotdesign/elm-ui/blob/master/bin/lib/render/elm.js#L19, as the filename is not quoted.

It should be a pretty quick fix, when I have some time I'll do it, thanks for reporting!

gdotdesign commented 7 years ago

Fixed in 0.4.2 https://github.com/gdotdesign/elm-ui/releases/tag/0.4.2