avh4 / elm-format

elm-format formats Elm source code according to a standard set of rules based on the official Elm Style Guide
BSD 3-Clause "New" or "Revised" License
1.31k stars 146 forks source link

Can't find the elm-format binary, check the "elm-format" package settings page #430

Open kirandeep123 opened 7 years ago

kirandeep123 commented 7 years ago

Hi , I am getting this error when I am trying to save my elm program . Am I missing something to install . I used following commands apm install elm-format npm install elm-format

please suggest .

avh4 commented 7 years ago

Does elm-format work when you run it from the command line?

lmkenny commented 6 years ago

For me it's not working when I run

$ elm-format    

What to do next?

avh4 commented 6 years ago

If elm-format from the command line does not work, then you'll have to get that working first. To debug, you'll need to find the full path where elm-format was installed (this depends on how npm is configured on your system if you used npm, otherwise it is wherever you manually placed elm-format if you downloaded it from the releases page). If you know the full path to elm-format, then you can enter that in the Atom elm-format plugin settings.