Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

Cant understand Stack Trace in React Native in WebStorm

$
0
0

I recently switched from Expo to React Native due to using Firebase. Now were trying to use axios for rest calls, and the error i get is not understandable at all. Is there a way to make React output better readable (where the code breaks e.g.)

Example error below:

[Tue Aug 31 2021 14:42:13.581]  WARN     Possible Unhandled Promise Rejection (id: 0):TypeError: undefined is not an object (evaluating 'msg.message')http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:235588:64tryCallOne@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:27349:16http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:27450:27_callTimer@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:30889:17_callImmediatesPass@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:30928:17callImmediates@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:31145:33__callImmediates@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:5006:35http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:4792:34__guard@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:4989:15flushedQueue@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:4791:21flushedQueue@[native code]callFunctionReturnFlushedQueue@[native code]info Reloading app...[Tue Aug 31 2021 15:21:11.418]  BUNDLE  ./index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1)[Tue Aug 31 2021 15:21:11.418]  BUNDLE  ./index.js[Tue Aug 31 2021 15:21:11.418]  BUNDLE  ./index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1)[Tue Aug 31 2021 15:21:13.634]  LOG      Running "main" with {"rootTag":61}[Tue Aug 31 2021 15:21:19.628]  LOG      yeet1[Tue Aug 31 2021 15:21:19.632]  LOG      yeet2[Tue Aug 31 2021 15:21:19.637]  LOG      [Error: not implemented][Tue Aug 31 2021 15:21:19.760]  WARN     Possible Unhandled Promise Rejection (id: 0):TypeError: undefined is not an object (evaluating 'msg.message')http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:235588:64tryCallOne@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:27349:16http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:27450:27_callTimer@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:30889:17_callImmediatesPass@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:30928:17callImmediates@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:31145:33__callImmediates@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:5006:35http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:4792:34__guard@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:4989:15flushedQueue@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:4791:21flushedQueue@[native code]callFunctionReturnFlushedQueue@[native code]

EDIT:

The problem is not, that I know whats the problem, its the stacktrace thats unreadable. I just get the information where in the bundle the code halts - thats inconvenient because I cant even see line 235588 - This file is just too large! So I need a better way.


Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>