gdotdesign / elm-ui

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

`npm start` requires a `config/development.json`, but it doesn't exist in the repo, .gitignore, and no mention in CONTRIBUTING.md #55

Closed mrozbarry closed 7 years ago

mrozbarry commented 7 years ago

To work around this, I just added my own config/development.json locally with an empty object, and that was enough to satisfy npm start. Is this related to selenium (I didn't install that), or is there something else?

gdotdesign commented 7 years ago

It's not required, it just shows that it's not there. Are you getting an error making and the server won't start?

mrozbarry commented 7 years ago

Ok, so the server does run, but the terminal reports some errors every refresh. Out of curiousity, what is it for?

gdotdesign commented 7 years ago

It's for using environmental variables http://elm-ui.info/documentation/guides/environment-variables

There can one for production, development, staging and on every render it's trying to load it but it's no there so an warning is logged.