Hi everyone,
I’m running into an issue when trying to use the loro-crdt
package in my Next.js project.
When I import it, I get this warning/error:
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.
../node_modules/.pnpm/loro-crdt@1.5.9/node_modules/loro-crdt/bundler/loro_wasm.js
../node_modules/.pnpm/loro-crdt@1.5.9/node_modules/loro-crdt/bundler/index.js
./lib/ide/editor/loro.ts
./lib/ide/editor/index.ts
./components/ide/editor.tsx
./components/ide/editor/tabs-content.tsx
./components/ide.tsx
I have no idea how to solve this issue, is anyone can help here? Thanks in advanced!