Next.js Discord

Discord Forum

async/await TopLevelAwait issue

Unanswered
Chum salmon posted this in #help-forum
Open in Discord
Avatar
Chum salmonOP
The generated code contains 'async/await' because this module is using "topLevelAwait".
However, your target environment does not appear to support 'async/await'.
As a result, the code may not run as expected or may cause runtime errors.


Anyone getting this error when working with topLevelAwait module?

0 Replies