TypeError: Promise.withResolvers is not a function #62122
Unanswered
jennabelle
asked this question in
Help
Replies: 2 comments
-
Maybe you should upgrade typescript to v5.4 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hello!
I am trying to migrate my app, from Next v12.3.4 to v13.5.6.
I also installed
eslint-config-next@13.5.6
and removed thenext-transpile-modules
plugin, since that plugin is now available in Next 13.After running the
new-link
andnext-image-to-legacy-image
codemods, I noticed that I get this error when i try to run my app locally.Does anyone have any tips on how to resolve this error?
It looks like the
Promise.withResolvers()
polyfill is being referenced, in thenext/dist/lib/batcher.js
file, but it's actually not getting that function, hence the error,Promise.withResolvers()
is not a functionAdditional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions