Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path with " - " fails compilation. #180

Open
pirovorster opened this issue Sep 22, 2019 · 1 comment
Open

Path with " - " fails compilation. #180

pirovorster opened this issue Sep 22, 2019 · 1 comment

Comments

@pirovorster
Copy link

"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.

@jamesrweb
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants