-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[workaround found] Vague error - error with no location #6986
Comments
Hello @sanjarcode. Please provide a minimal reproduction using a GitHub repository or StackBlitz (you can also use examples). Issues marked with |
Hi @sanjarcode, I had the same issue today in the company's project. After debugging for a while, I managed to resolve it in two ways. My friend and colleague @elionaimelo helped me fix the problem. In my project, I was using Another way to resolve the issue is to simply install the package From what I understand, the new version of |
Just wanted to mention that this issue might be related JSDOM. JSDOM's dependency, nwsapi, was recently updated, and a similar issue appeared there, so it might be related |
Vitest doesn't install any vue packages |
I have this same issue after updating to JSDOM v25 due to the punycode warning from it's tough-cookie dependency. Now all my vitest-unit tests using vue testutils are not working anymore with the same error message. The error is thrown in the jsdom-package when a selector is called, for me it's this line of code: |
I am also facing the same kind of Error with Next JS 14 and Vitest |
Turns out the problem is with jsdom, or atleast u can fix it by patching it. Patch (1 line of code): jsdom/jsdom#3797 The error goes away after this. |
Describe the bug
An error is shown but the trace, or at least location of the error is not shown
TypeError: list.map is not a function
OK, but where??Reproduction
No repro, need to fix the error reporting sentence.
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: