Closed KaliaJS closed 7 months ago
The same for me !
Because of node-datachannel@0.5.x only supporting esm, geckos v3 only supports esm as well.
See: https://github.com/geckosio/geckos.io?tab=readme-ov-file#mega-version-3-available
I'm confused because I only use ESM too. Unless electronjs uses ComonJS? I'm a little confused. Is it possible to have more explanations to help me find the problem?
I imagine it's more of a problem with vitejs. I close here.
When I try to import geckos in the main.js file of electron, I get CommonJS error. It's strange because I can correctly import express and other libraries. That's why I think the problem comes from geckos.