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

Elm transform shows compiler errors twice #6703

Closed
ChristophP opened this issue Aug 10, 2021 · 3 comments
Closed

Elm transform shows compiler errors twice #6703

ChristophP opened this issue Aug 10, 2021 · 3 comments

Comments

@ChristophP
Copy link
Contributor

🐛 bug report

When the elm compiler encounters errors, parcel logs them. But twice. Once in red once in gray:
grafik
The gray is hard to read but often the thing that a developer sees because it the last thing that's logged.

🎛 Configuration (.babelrc, package.json, cli command)

No babel
simple JS that imports Elm
parcel src/index.js

🤔 Expected Behavior

I only wanne see the red output, not the gray one.

😯 Current Behavior

Red and gray output
grafik

💁 Possible Solution

Check why the output is logged twice

🔦 Context

Slowed down my developement because I need to scroll up to see the red output, the gray one is hard to read for me.

💻 Code Sample

🌍 Your Environment

Software Version(s)
Parcel 2.0.0-rc1
Node 14.17.5
npm/Yarn npm 7.6
Operating System Mac OS, Big Surr
@mischnic
Copy link
Member

(And this is also not using Parcel's system for errors with codeframes where you would see more context and also have syntax highlighting)

@domenkozar
Copy link

Most likely the cause: #6124

@ChristophP
Copy link
Contributor Author

Thanks for fixing 👍

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

No branches or pull requests

3 participants