on master help sign in
Make the error about bad deps more generic / talk about reactor
commit5ee7773572cc1f0389dd2f6ee62e19ad179363bf authorEvan Czaplicki <evancz@users.noreply.github.com> dateSun 10 Jun 2018, 21:20 (8 years ago) parentb3714bb
1 file changed+7−6
builder/src/Reporting/Exit/Deps.hs+7−6
builder/src/Reporting/Exit/Deps.hs+7−6
@@ -99,15 +99,16 @@ toReport exit =
9999 ]
100100
101101 BadDeps ->
102− Help.report "CLASHING PACKAGE DEPENDENCIES" (Just "elm.json")
102+ Help.report "INVALID PACKAGE DEPENDENCIES" (Just "elm.json")
103103 "The dependencies in your elm.json are not compatible."
104− [ D.reflow $
105− "Did you change them by hand? Try to change it back! It is much\
106− \ better to add dependencies with commands like this:"
107− , D.indent 4 $ D.dullyellow "elm install elm/http"
104+ [ D.fillSep
105+ ["Did","you","change","them","by","hand?","Try","to","change","it","back!"
106+ ,"It","is","much","better","to","add","dependencies","with",D.green "elm install"
107+ ,"or","the","dependency","management","tool","in",D.green "elm reactor" <> "."
108+ ]
108109 , D.reflow $
109110 "Please ask for help on the Elm slack <http://elmlang.herokuapp.com/> if\
110− \ you are running into something that seems trickier than this."
111+ \ you try those paths and still cannot figure it out!"
111112 ]
112113
113114 BuildFailure elmHome pkg vsn ->