elm-lang / elm-make

A build tool for Elm projects
BSD 3-Clause "New" or "Revised" License
175 stars 45 forks source link

TypeError in 0.18 when importing AnimationFrame #126

Closed nphollon closed 7 years ago

nphollon commented 7 years ago

gist here: https://gist.github.com/nphollon/97598935650a1b38e9eac08ddca27061

Like #119, this is a runtime error caused by elm-lang/animation-frame. All you need is a program that imports the AnimationFrame module, like so:

module Main exposing (..)

import Html
import AnimationFrame

main = Html.text "howdy"

This program compiles (elm make Main.elm), but when I run it, the browser gives me this error:

TypeError: _elm_lang$core$Native_Scheduler is undefined
(index.html:141:5)

The version of Elm I am using was installed November 11 via NPM. I hope this is the most recent version!

npm install -g elm@0.18.0-beta

process-bot commented 7 years ago

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.