Babel error (codeframe format) clickable in the console
Answered
I'm using Webpack / ForkTsCheckerWebpackPlugin that is generating errors using Babel codeframe format. Something like:
ERROR in src/widgets/xTable.tsx:122:36
in the IDEA's console is there anyway to have this error clickable to jump directly to the xTable.tsx file at line 122 ?
Please sign in to leave a comment.
Hello Marc,
A similar feature was implemented in 2020.3 IDE version. (https://youtrack.jetbrains.com/issue/WEB-47897)
Please try using the latest version from https://www.jetbrains.com/idea/download.
Hello Egor,
I've forgot to mention the version I'm using:
Thanks for the information.
Looks like this problem was fixed in version 2020.3.1. See https://youtrack.jetbrains.com/issue/WEB-22867 .
Great I'll check w/ 2020.3.1 then. Thank you.
Unfortunately it seems the problem is still there:
using the latest IDEA:
what console is it? What run configuration do you use to run your code?
I'm using a regular npm start/build run configuration as generated by clicking in the npm window displaying the scripts available in the package.json. When running, this command is opening the Run console as shown in my previous message.
Errors coming from ForkTsCheckerWebpackPlugin are clickable for me in NPM console:
please could you share a minimal test project the issue can be repeated with?
Here it is: https://we.tl/t-5KthNTNRfu
I've simplified our multi modules project as much as possible to get a single module within the main project module. The issue is still here.
FYI: while preparing that test project I've moved all the content of the x-reporting module to the root of ReportingMF module and the error was clickable...
Thanks, reproduced.
Submitted to developers as https://youtrack.jetbrains.com/issue/WEB-49002, please follow it for updates