error-message-catalog icon indicating copy to clipboard operation
error-message-catalog copied to clipboard

elm install breaks with multiple package names

Open jjant opened this issue 5 years ago • 1 comments

Quick Summary:

Trying to install many packages with one command throws a runtime error on the console.

SSCCE

elm install elm/json elm-community/webgl
  • Elm: 0.19
  • Operating System: OS X

Additional Details

Exact error is

CallStack (from HasCallStack):
  error, called at ui/terminal/src/Terminal/Args/Error.hs:281:13 in main:Terminal.Args.Error

jjant avatar Aug 04 '19 03:08 jjant

With 0.19.1 it does not crash, but the error message is still sort of weird:

I was not expecting these arguments:

    elm/json
    elm-community/webgl

Try removing them?

The issue is that it only accepts one package at a time. I'm going to transfer to the error message catalog for further improvement.

evancz avatar Oct 28 '19 18:10 evancz