Skip to content

Incorrect line numbers in some projects #4

@dankoster

Description

@dankoster

In some projects React reports incorrect source file line numbers.

  • The reported line number is always less than the actual line number
  • This bug occurs in some projects but not others: It could be a build pipeline config issue?
  • This is probably due to the code being modified by a linting or pretification step of the build processes occurring before typescript transpilation, causing source mappings to be generated "incorrectly" for the partially processed code instead of for the actual code.
Screen.Recording.2024-06-10.at.3.07.13.PM.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions