cultureamp / react-elm-components

Write React components in Elm

Home Page:https://www.npmjs.com/package/react-elm-components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trying to run a simple example and it didn't compile

wellyal opened this issue · comments

./src/components/elm/Test.elm
Error: Compiler process exited with error Compilation failed
-- NO elm.json FILE ------------------------------------------------------------

It looks like you are starting a new Elm project. Very exciting! Try running:

    elm init

It will help you get set up. It is really simple!

I don't have this elm init command. The weird thing is that I have configured my webpack and it seems that my folders structure is okay. Can anyone help me here?

Here's my webpack.js file.

image

Maybe related to the way Elm 0.18 looks for elm-package.json, but Elm 0.19 looks for elm.json?