Simply importing a library makes my page break
Unanswered
Cuban Crocodile posted this in #help-forum
Cuban CrocodileOP
Hello, i am trying to use a library called
in the logs i find the following:
preceded by the following stack trace: https://pastebin.com/Frh1FkaY
my tsconfig: https://pastebin.com/TzdWTcKv
my next config: https://pastebin.com/7AQHJgee
yoga-layout but the moment i import it, the page breaksin the logs i find the following:
⚠ ./node_modules/yoga-layout/dist/src/index.js
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.
Import trace for requested module:
./node_modules/yoga-layout/dist/src/index.js
./src/app/(private)/asset-topology/page.tsxpreceded by the following stack trace: https://pastebin.com/Frh1FkaY
my tsconfig: https://pastebin.com/TzdWTcKv
my next config: https://pastebin.com/7AQHJgee