elm-webpack-loader
elm-webpack-loader copied to clipboard
Path with " - " fails compilation.
"version": "6.0.0"
When a directory contains a " - " like "C:\Pvt\Positron - Copy\src" the elm build fails with:
Module build failed (from ./node_modules/elm-webpack-loader/index.js): Error: Compiler process exited with error Compilation failed I do not recognize this flag:
-Maybe you want one of these instead?
--docs=<json-file> --debug --output=<output-file> --report=<report-type> --optimize at ChildProcess.<anonymous> (C:\Pvt\Positron - >Copy\src\Positron.Website\node_modules\node-elm-compiler\dist\index.js:131:35)
If the directory gets changed to "C:\Pvt\Positron2\src" the issue is resolved.
I also have this issue but I have no idea why because the exact same code compiled and worked just fine 5 days ago.. Literally nothing has changed and now it breaks with this exact error, any idea why @sporto or @lukewestby? Here is a link to the code and configs in question for my case.