Giter Site home page Giter Site logo

Comments (4)

evancz avatar evancz commented on May 23, 2024

What version of the compiler are you using? If you are before 0.4.0.4 then you are missing the Elm runtime system. You can fix this by upgrading.

If you are up to date, open up the "developer console" in your browser (with F12 in Chrome) and tell me what errors you are seeing. Hopefully they are somewhat descriptive.

What platform are you using (OS, browser, etc.)?

Side note: A new version of Elm is probably coming out this week (version 0.5) that has some breaking changes. Elm-lang.org lives between versions a little bit, so this may be causing you trouble. I suspect this is not the issue unless you are getting type errors that don't make any sense.

from elm-lang.org.

solarplexus6 avatar solarplexus6 commented on May 23, 2024

I'm on Elm 0.4.0.4 built on Windows 7. Tested only with Chrome.

Ah, I didn't thought to check the javascript console for errors. Here's the log:
Uncaught ReferenceError: ElmCode is not defined :8000/:58
Uncaught TypeError: Cannot call method 'hasOwnProperty' of undefined elm-mini.js:2975

from elm-lang.org.

evancz avatar evancz commented on May 23, 2024

Ok, I am pretty sure it is a versioning thing that I did then. Two easy options:

  • Download the compiler, navigate to elm/, use the command cabal install and you should be all set. This is the compiler that will be released very soon.
  • Wait for version 0.5 to come out in a few days and do cabal update & cabal install elm.

Sorry about this! I need to be more careful about when I push updates to the repository for elm-lang.org!

from elm-lang.org.

evancz avatar evancz commented on May 23, 2024

So I just released the new compiler. That should fix your issues. Sorry about that!

from elm-lang.org.

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.