-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
Description
Is this a bug report?
Yes
Environment
node -v: v10.9.0npm -v: 6.2.0yarn --version(if you use Yarn): 1.9.4npm ls create-elm-app -g(if you haven’t ejected):
~/.nvm/versions/node/v10.9.0/lib
└── create-elm-app@2.0.5
Then, specify:
- Operating system: Ubuntu
- Browser and version (if relevant): N/A
Steps to Reproduce
- Successfully build an app with
elm-app build. - Verify that the app is running without the time travel debugger.
- Enable the debugger according to the docs:
$ ELM_DEBUGGER=true elm-app build.
Expected Behavior
A successful build, with the debugger enabled.
Actual Behavior
It fails like this:
$ ELM_DEBUGGER=true elm-app build
Creating an optimized production build...
Failed to compile.
./src/Main.elm
-- CLASHING FLAGS --------------------------------------------------------------
I cannot compile with --optimize and --debug at the same time.
I need to take away information to optimize things, and I need to add
information to add the debugger. It is impossible to do both at once, so pick
just one of those flags.
Reproducible Demo
N/A