Skip to content

Broken dependencies after elm-codegen init #86

@aramiscd

Description

@aramiscd

I did the following (a couple of times, on Linux, on Windows)

$ mkdir foo
$ cd foo
$ elm-codegen init
$ elm-codegen run

Every time I got:

The dependencies in your elm.json are not compatible.

Did you change them by hand? Try to change it back! It is much more reliable to
add dependencies with elm install or the dependency management tool in
elm reactor.

...

The following seems to work though:

$ mkdir foo
$ cd foo
$ elm-codegen init
$ cd codegen
$ rm elm.json
$ elm init
$ elm install mdgriffith/elm-codegen
$ elm install elm/json
# manually replace "src" with "." in elm.json
$ cd ..
$ elm-codegen run

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions