cultureamp / react-elm-components

Write React components in Elm
https://www.npmjs.com/package/react-elm-components
BSD 3-Clause "New" or "Revised" License
779 stars 54 forks source link

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

Open wellyal opened 6 years ago

wellyal commented 6 years ago
./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

r-k-b commented 5 years ago

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