GithubHelp home page GithubHelp logo

[stdin]:12394 about elm HOT 4 CLOSED

exercism avatar exercism commented on July 21, 2024
[stdin]:12394

from elm.

Comments (4)

tgecho avatar tgecho commented on July 21, 2024

It looks like you may have an older version of the exercise which is not compatible with the newest version of elm or elm-test. The easiest way to tell is that the first line of the test file should look something like port module Main exposing (..).

I'm not sure how to update them apart from deleting all of the exercise files apart from your solution and running exercism fetch elm --all.

from elm.

clarkburbidge avatar clarkburbidge commented on July 21, 2024

That did the trick.

I moved my exercise folders, exercism restore to get back the new base files & folders, moved my completed *.elm exercise files back into their respective folders, and finally elm-test *Test.elm in each folder. All passed as before and accumulate behaves as expected with a forced result.

Thanks!

from elm.

daveyarwood avatar daveyarwood commented on July 21, 2024

I did the above and I'm still seeing the same issue:

$ elm-test *Tests.elm
Success! Compiled 1 module.
Successfully generated /var/folders/h0/jb2j4f310zx08ynwfxw8lxg00000gn/T/elm_test_116820-25048-1w9e8ds.js
Successfully compiled BobTests.elm
Running tests...

[stdin]:13506
    if (typeof Elm === "undefined") { throw "elm-io config error: Elm is not defined. Make sure you call elm-io with a real Elm output file"}
                                      ^
elm-io config error: Elm is not defined. Make sure you call elm-io with a real Elm output file

from elm.

tgecho avatar tgecho commented on July 21, 2024

@daveyarwood I know this is incredibly late. If you're still out there and interested, try the latest version (via npm install / npm tests).

from elm.

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.