Skip to content

Create React App - fails to map stack trace #70

Description

@freemaths

Attempting to log and debug live errors on a site generated by create-react-app.
The gps object created with new StackTraceGPS() looks to be fine (sourceCache and sourceMapConsumerCache promises are fulfilled).
When using pinpoint it just returns original line and column with an added name of w:

source: main.c8f4e493.chunk.js line: 1 column 255531
source: /static/js/main.c8f4e493.chunk.js line: 1 column 255531 name: w
source: main.c8f4e493.chunk.js line: 1 column 6959
source: /static/js/main.c8f4e493.chunk.js line: 1 column 6959 name: w
source: main.c8f4e493.chunk.js line: 1 column 318036
source: /static/js/main.c8f4e493.chunk.js line: 1 column 318036 name: w

Any suggestions?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions