Closed Henryhehe closed 4 years ago
The fastest way is add regenerator-runtime
:https://hooks.umijs.org/docs/faq#when-i-use-umi-hooks-i-get-an-error-regeneratorruntime-is-not-defined-how-can-i-solve-it
And we will fix this as soon as possible.
Thank you for your feedback.
Using this with typescript and next.js, however, when I build the typescript, it always gives me the error for
And it is coming from
I have to manually delete the folder in order for it to build successfully.
Thank you!