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
Trackback for errors during SSR shows "Missing stack frames" #6640
Comments
Thanks for your contribution to Nuxt.js!
Issues that are labeled as |
Still awaiting response. |
I'm also interested in this. Line numbers for these errors would be mightily helpful. |
Thanks for your contribution to Nuxt.js!
Issues that are labeled as |
Still awaiting response. |
Given the bug report is provided with full details, and a clean reproduction link, it's quite disappointing that there has been absolutely no comment from the developers whatsoever. |
Any update on this? |
Very necessary, I'm very lost searching in all my files after a migration from Pure Vue to Nuxt. |
Yes, just yesterday I guided someone new to the project through an error in It was a simple enough error, an axios XHR request had 404’d, but they only had:
…and a trace that only references files and line numbers from Nuxt internal processes. Without a file and line number next to “Request failed with status code 404” they were understandably lost and frustrated. I love using Nuxt and what it gives me, thank you team, but it’s hard to defend it when developers run into this so early in their experience. Using Nuxt v2.10.2 |
Hi all. I can understand how much frustration it sometimes brings when stack traces are not available. The first issue will be improved by #7463. @mkstix6 Axios HTTP request traces are unfortunately not traceable because of how it throws the error. I will try to find a solution for it meanwhile any contribution to improvement is more than welcome :) |
I would love to see debugging a bit improved. Often I experience a bug, and get the "Missing stack frames" error. The trace in the console points to a minified file, so I have no idea where to start debugging. |
I'm in the same situation, and can't find the origin of the error... Nuxt need to be more informative in some error messages |
我也遇到了这个问题,已经解决。建议:使用二分法进行排查,即注释或还原到正常的代码,然后逐步添加新代码; I also encountered this problem, which has been solved. Suggestion: use dichotomy to check, that is, comment or restore to normal code, and then gradually add new code; |
Still frustrating in 2021 |
Worth mentioning sometimes if you set |
Same. Very sad it's not implemented (( |
Mid 2022 and I'm still experiencing this 🤷 |
Trying to migrate one of our apps from |
Nowadays this can be done via:
|
Version
v2.10.2
Reproduction link
https://codesandbox.io/s/ssr-error-uvu26
Steps to reproduce
Just open the reproduction link...
OR
What is expected ?
Accurate tracebacks with correct file names, line numbers and file contents.
What is actually happening?
Missing tracebacks, confusing file names and line numbers.
Additional comments?
I have experimented with various settings for build config.devtool and these do appear to affect what is shown in the traceback, but I couldn't find a value that actually made it work correctly.
If you happen to trigger the error while you have a live frontend open (of force it by setting mode: 'spa'), the browser dev tools are able to find the correct lines in the debugger.
The text was updated successfully, but these errors were encountered: