Closed RIP21 closed 6 years ago
The resulted error message is not ideal, but way better than nothing.
./src/elements/FormSignIn/index.js << This is not ideal, since it's unneeded repetition.
[4m/Users/andriilos/Projects/<annon>/<annon>/src/elements/FormSignIn/index.js[24m
[2m6:13[22m [33mwarning[39m 'UI' is defined but never used [2mno-unused-vars[22m
[2m9:7[22m [33mwarning[39m 'sleep' is assigned a value but never used [2mno-unused-vars[22m
[33m[1m✖ 2 problems (0 errors, 2 warnings)[22m[39m
[33m[1m[22m[39m
I opened PR #5009 If anyone has any suggestion please let me know.
This is now fixed on next
, there were tons of edge cases we needed to consider. Thanks for the report!
This is issue created for discussing fix of the weird common Alphas 2.0.0 error that looks like that:
I did some research trying to find the root cause and it seems that I found it.
Seems to be an issue in
formatWebpackMessages.js
This piece is deletes everything after 'thread-loader'. So when you have an error or warning it will be striped out to the path only. So message like that:
End up like:
So effectively changing
to
May fix this, I'm not sure about other errors and warnings formats so a little discussion will be a nice thing to do before I open a PR if you like.