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

[DevTools Bug]: Version 5.2 shows incorrect source for all the components #29164

Open
scirill opened this issue May 19, 2024 · 2 comments
Open
Assignees
Labels
Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug

Comments

@scirill
Copy link

scirill commented May 19, 2024

Website or app

https://github.com/codedthemes/mantis-free-react-admin-template/

Repro steps

  1. npm install
  2. npm run start

Point to any component in the page (for example the text "Hi, Welcome back 👋") , you will see the the source is wrong
it points to the build tool output chunk file and not to the source of the file in the project.
This is how it displays it now
image
This should point to the source in the project, the fileName should point to the file inside the src directory, as pointing to the output chunk is pointless for debug reasons.
Thank you

How often does this bug happen?

Every time

DevTools package (automated)

No response

DevTools version (automated)

No response

Error message (automated)

No response

Error call stack (automated)

No response

Error component stack (automated)

No response

GitHub query string (automated)

No response

@scirill scirill added Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug labels May 19, 2024
@scirill
Copy link
Author

scirill commented May 19, 2024

This is not a pure DevTools issue, this was done in #28351 that introduced this issue, following the change in #28265.

@daniel-funnel
Copy link

I just saw this issue appear, and it's incredibly frustrating. I noticed it's especially the issue with older version of React.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug
Projects
None yet
Development

No branches or pull requests

3 participants