gdotdesign / elm-ui

UI library for making web applications with Elm

Home Page:https://elm-ui.netlify.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mrozbarry opened this issue · comments

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?

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

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

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.