elm-community/elm-webpack-loader

Error: Cannot find module 'node-elm-compiler'

Opened this issue · 2 comments

Hi,

while setting elm-webpack-loader, I got the error

Module build failed: Error: Cannot find module 'node-elm-compiler'

so I run yarn install node-elm-compiler to resolve the issue, but it could not be resolved properly. After little investigation I came to realize that by running yarn install node-elm-compiler, I am actually installing the latest version that is 5.0.2

So I try to install the 5.0.0 version instead to see it will work. And yes by installing 5.0.0 version it does work.

I would like to update about this issue.

Best
Dev.

Seeing a similar issue. Thanks for the tip on downgrading!

Version 5.0.1 also works and it has improved error messages. The issue only seems to be with version 5.0.2 that was pushed out yesterday.