Replies: 5 comments 3 replies
-
2.x was working fine before I know 3.x has breaking changes because of esmodules it seems |
Beta Was this translation helpful? Give feedback.
-
I don't know anything about Turbo, but that error message looks pretty self explanatory to me - looks you've defined (or defaulted to) browser compatibility in your bundler that does not support a JavaScript version with a minimum viable WebAssembly environment. |
Beta Was this translation helpful? Give feedback.
-
I cannot debug your build from a log snippet posted GitHub comment, we need a minimal repro. This repro is appreciated but it is not minimal enough for me to debug - you will to do some more work to isolate the issue if there is an incompatibility with Turbo. |
Beta Was this translation helpful? Give feedback.
-
Try this if possible git clone https://github.com/TurboPerspective/Turbo.git cd to root folder npm install then nx run TurboClient:serve sample angular app is here https://github.com/TurboPerspective/Turbo/tree/main/apps/TurboClient |
Beta Was this translation helpful? Give feedback.
-
other way git clone https://github.com/TurboPerspective/Turbo.git cd to root folder
|
Beta Was this translation helpful? Give feedback.
-
Add any other context about the problem here.
Created Sample NX mono repo here : https://github.com/TurboPerspective/Turbo
after npm install
npm run startServer
Works fine
npm run startClient
Followed documentation etc.
but getting build errors.
✘ [ERROR] Top-level await is not available in the configured target environment ("chrome130.0", "edge130.0", "firefox115.0", "ios17.0", "safari17.0" + 7 overrides)
node_modules/@finos/perspective-viewer/dist/esm/perspective-viewer.js:2110:9:
2110 │ var Ie = await Me(je);
╵ ~~~~~
✘ [ERROR] Top-level await is not available in the configured target environment ("chrome130.0", "edge130.0", "firefox115.0", "ios17.0", "safari17.0" + 7 overrides)
node_modules/@finos/perspective-viewer/dist/esm/perspective-viewer.js:2111:0:
2111 │ await K(Ie);
╵ ~~~~~
✘ [ERROR] Top-level await is not available in the configured target environment ("chrome130.0", "edge130.0", "firefox115.0", "ios17.0", "safari17.0" + 7 overrides)
node_modules/@finos/perspective-viewer/dist/esm/perspective-viewer.js:2112:0:
2112 │ await J();
╵ ~~~~~
Beta Was this translation helpful? Give feedback.
All reactions