Coder Social home page Coder Social logo

Comments (3)

reservedwords avatar reservedwords commented on June 18, 2024 2

I ran into a similar issue.

I came across this tutorial via its use on: https://guide.elm-lang.org/architecture/

I was copying the examples into new files and running them in elm-reactor; everything was fine until 5-http.elm, which requires evancz/elm-http so I got a missing package error.

If you're following the tutorial step-by-step, there's nothing explaining the setup you have to do, either if you clone the repo (as in @kevgathuku 's case) or if you're just messing with the code examples in elm-reactor.

Perhaps there should be a little section at the start, either before or integrated into the first example, explaining how to run and manage packages for these examples. I'd suggest explaining it in the case where the reader:

  • has cloned the repo and is running the examples
  • is following along and typing the code in her editor then running it via elm-reactor. (I think being opinionated about elm-reactor is OK, so no need to cover more exotic scenarios)

from elm-architecture-tutorial.

pirj avatar pirj commented on June 18, 2024 1

@reservedwords Does everything run ok if you follow the README?
Apparently moving files around is a step aside, and is out of the scope of these very basic examples of Elm Architecture and more relate to Elm infrastructure.

Stuck with that as well, in a quite different way, was running elm reactor from examples directory instead of root, but did not expect the README to help me much with that.

Elm is about to keep things easy to understand, and I would rather notice that I've ran elm reactor from a different place than would read the details on how package manager works that early.

from elm-architecture-tutorial.

teinen avatar teinen commented on June 18, 2024

Hello.

Currently, this project is updated to Elm 0.19.

In Elm 0.19, elm-package.json is replaced with elm.json.
https://github.com/elm/compiler/blob/master/upgrade-docs/0.19.md#elmjson

So I think elm-package install command is not necessary for starting this project.

Thanks.

from elm-architecture-tutorial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.