elm-webpack-loader icon indicating copy to clipboard operation
elm-webpack-loader copied to clipboard

Error: Cannot find module 'temp'

Open sporto opened this issue 4 years ago • 0 comments

This module uses temp here https://github.com/elm-community/elm-webpack-loader/blob/2bbe487e654231e3531374747c23043b8f440a44/index.js#L5

But it is not in the dependecies in package.json. So I'm getting:

Error: Cannot find module 'temp'

If you have elm-test in your project this doesn't fail. Because elm-test requires that dependecy indirectly. With new tools like elm-test-rs there is no need to use the elm-test npm package. So this dependecy should be in the package.json for this project.

Thanks

sporto avatar Feb 15 '21 04:02 sporto