@@ -220,7 +220,7 @@ diffToReport diff =
220220 "I need the latest list of published packages before I do this diff"
221221
222222 DiffBadDetails details ->
223− error "TODO DiffBadDetails" details
223+ toDetailsReport details
224224
225225 DiffBadBuild buildProblem ->
226226 error "TODO DiffBadBuild" buildProblem
@@ -360,7 +360,7 @@ publishToReport publish =
360360 toOutlineReport outline
361361
362362 PublishBadDetails problem ->
363− error "TODO PublishBadDetails" problem
363+ toDetailsReport problem
364364
365365 PublishMustHaveLatestRegistry problem ->
366366 toRegistryProblemReport "PROBLEM UPDATING PACKAGE LIST" problem $
@@ -496,7 +496,7 @@ publishToReport publish =
496496 ]
497497
498498 PublishBuildProblem buildProblem ->
499− error "TODO PublishBuildProblem" buildProblem
499+ toBuildProblemReport buildProblem
500500
501501 PublishMissingTag version ->
502502 let vsn = V.toChars version in
@@ -1113,10 +1113,32 @@ toDetailsReport :: Details -> Help.Report
11131113toDetailsReport details =
11141114 case details of
11151115 DetailsNoSolution ->
1116− error "TODO DetailsNoSolution"
1116+ Help.report "INCOMPATIBLE DEPENDENCIES" (Just "elm.json")
1117+ "The dependencies in your elm.json are not compatible."
1118+ [ D.fillSep
1119+ ["Did","you","change","them","by","hand?","Try","to","change","it","back!"
1120+ ,"It","is","much","more","reliable","to","add","dependencies","with",D.green "elm install"
1121+ ,"or","the","dependency","management","tool","in",D.green "elm reactor" <> "."
1122+ ]
1123+ , D.reflow $
1124+ "Please ask for help on the community forums if you try those paths and are still\
1125+ \ having problems!"
1126+ ]
11171127
11181128 DetailsNoOfflineSolution ->
1119− error "TODO DetailsNoOfflineSolution"
1129+ Help.report "TROUBLE VERIFYING DEPENDENCIES" (Just "elm.json")
1130+ "I could not connect to https://package.elm-lang.org to get the latest list of\
1131+ \ packages, and I was unable to verify your dependencies with the information I\
1132+ \ have cached locally."
1133+ [ D.reflow $
1134+ "Are you able to connect to the internet? These dependencies may work once you\
1135+ \ get access to the registry!"
1136+ , D.toFancyNote
1137+ ["If","you","changed","your","dependencies","by","hand,","try","to","change","them","back!"
1138+ ,"It","is","much","more","reliable","to","add","dependencies","with",D.green "elm install"
1139+ ,"or","the","dependency","management","tool","in",D.green "elm reactor" <> "."
1140+ ]
1141+ ]
11201142
11211143 DetailsSolverProblem _ ->
11221144 error "TODO DetailsSolverProblem"
@@ -1145,14 +1167,25 @@ toDetailsReport details =
11451167 ]
11461168
11471169 DetailsHandEditedDependencies ->
1148− error "TODO DetailsHandEditedDependencies"
1170+ Help.report "ERROR IN DEPENDENCIES" (Just "elm.json")
1171+ "It looks like the dependencies elm.json in were edited by hand (or by a 3rd\
1172+ \ party tool) leaving them in an invalid state."
1173+ [ D.fillSep
1174+ ["Try","to","change","them","back","to","what","they","were","before!"
1175+ ,"It","is","much","more","reliable","to","add","dependencies","with",D.green "elm install"
1176+ ,"or","the","dependency","management","tool","in",D.green "elm reactor" <> "."
1177+ ]
1178+ , D.reflow $
1179+ "Please ask for help on the community forums if you try those paths and are still\
1180+ \ having problems!"
1181+ ]
11491182
11501183 DetailsBadOutline outline ->
11511184 toOutlineReport outline
11521185
11531186 DetailsCannotGetRegistry problem ->
11541187 toRegistryProblemReport "PROBLEM LOADING PACKAGE LIST" problem $
1155− "I need the list of published packages to figure out if your project has compatible dependencies"
1188+ "I need the list of published packages to verify your dependencies"
11561189
11571190 DetailsCannotBuildPackage pkg vsn problem ->
11581191 toPackageProblemReport pkg vsn problem