-
Notifications
You must be signed in to change notification settings - Fork 597
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
There seems to be a syntax error in the 'lib/web/fetch/util.js' file, causing a compilation error. #2923
Labels
bug
Something isn't working
Comments
I think it is a swc issue. |
|
@woohyun1031 Hello, I hope you are doing well, I would like to know if you solved this problem? |
If this issue occurred after you started using cheerio, this may help... I added 'cheerio' here in next config, and it resolved issue:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
I upgraded to undici version 6.7.0 in a specific library I'm using, and I encountered a compilation error.
While tracing the issue, I found that it originated from the file 'lib/web/fetch/util.js'.
And the file is being compiled through the SWC loader in Next.js.
Of course, it could be a different error, but I'm curious if the exception handling within the
FastIterableIterator
class in thecreateIterator
function in that file is correct.I'm curious whether the part where the exception handling is performed on line 776 should be changed from
!(#target in this)
to!(this.#target in this)
.Logs & Screenshots
Environment
Mac M1 Pro
Next.js 14.0.1
Node v20.10.0
The text was updated successfully, but these errors were encountered: