-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bindings not found #25
Comments
my vite config: import { defineConfig } from 'vite' import topLevelAwait from 'vite-plugin-top-level-await' export default defineConfig({ base: './', plugins: [ topLevelAwait({ promiseExportName: "__tla", promiseImportName: i => `__tla_${i}` }) ] }) |
Did you tried removing node_modules and reinstalling dependencies? |
thanks for your answer @Menci , for now I back to use the asyc IIFE wrapper (async ()=>{})(); |
I got the same error in centos7, but it works fine in mac os. |
I don't know why, but its works just fine now!! |
I did't do anything about it. Strange... |
I have reopened the issue again !! |
Hi. Let's continue investigate on this. How can I reproduce it? Could you try reproduce it with a simple project in a (reproducable, e.g. Docker) environment? |
1 similar comment
Hi. Let's continue investigate on this. How can I reproduce it? Could you try reproduce it with a simple project in a (reproducable, e.g. Docker) environment? |
I have the same error. "react": "^18.2.0" my config is same as TheUniParse Error Information:
|
Hi @Menci
|
The same problem happened to me. May I ask how you solved it? @TheUniParse |
Hi @HeeBooo
|
i have the same problem, and it still troubles me |
I had the same problem and solved it. I found that the '@swc/core-linux-x64-gnu' module was not found, so, I added to the package.json and reinstalling dependencies. Dependencies of swc/core in different systems,my vite-plugin-top-level-await version is 1.3.1 |
Same issue on my side. I am able to run fine on my windows machine but when building through github actions it explodes |
I have exactly the same problem. Are there any plans to fix this? |
We've used the vite-plugin-top-level-await to support top level await. But most of them were removed anyway, because the ide-desktop/lib/client is bundled as CJS and use some of gui2 code. And the plugin [is causing problems](Menci/vite-plugin-top-level-await#25), [also in our CI](https://github.com/enso-org/enso/actions/runs/7842841953/job/21402194728?pr=9013#step:8:458)
@DMOAbove me too, May I ask if you have resolved it |
@zyq0407 Your posting method solves my problem |
hello, how you solved it? |
in windows 10 evrything works fine, but in windows 11 I have this error even if main.js are empty in new project
The text was updated successfully, but these errors were encountered: