TypeStrong / ts-loader

TypeScript loader for webpack
https://johnnyreilly.com/ts-loader-goes-webpack-5
MIT License
3.45k stars 428 forks source link

bug in generate stacktrace? #1558

Open long76 opened 1 year ago

long76 commented 1 year ago

Expected Behaviour

Error: Rows must be children by Table
    at index.tsx:12:41
    at oke (rows.tsx:19:39)
    at Ei (react-dom.production.min.js:167:176)
    at Sc (react-dom.production.min.js:291:227)
    at bs (react-dom.production.min.js:280:412)
    at gs (react-dom.production.min.js:280:352)
    at vs (react-dom.production.min.js:280:222)
    at as (react-dom.production.min.js:271:127)
    at os (react-dom.production.min.js:268:467)
    at C (scheduler.production.min.js:13:236)
    at MessagePort.H (scheduler.production.min.js:14:164)

Actual Behaviour

Error: Rows must be children by Table

    at oke (http://localhost:8080/resources/bundle.js:2:2326337)
    at div
    at div
    at tp (http://localhost:8080/resources/bundle.js:2:521747)
    at wh (http://localhost:8080/resources/bundle.js:2:547444)
    at Hh (http://localhost:8080/resources/bundle.js:2:548101)
    at gd (http://localhost:8080/resources/bundle.js:2:470930)
    at Ph
    at Kze (http://localhost:8080/resources/bundle.js:2:2324064)
    at t (http://localhost:8080/resources/bundle.js:2:2339153)

Steps to Reproduce the Problem

Location of a Minimal Repository that Demonstrates the Issue.

i made it if needed

if set devtool to eval-* then all prints ok. why only eval made right stacktrace? i wanted use hidden-source-map but it's not give me needed result.

P.S. error printed in console have expected paths in stack but in react(componentDidCatch) no