Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken dependencies after elm-codegen init #86

Open
aramiscd opened this issue Mar 20, 2024 · 0 comments
Open

Broken dependencies after elm-codegen init #86

aramiscd opened this issue Mar 20, 2024 · 0 comments

Comments

@aramiscd
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant