Open afeichuanqi opened 1 year ago
curlconverter needs to be an ES Module (ESM) because of this top-level await
statement:
Electron doesn't support ESM
https://github.com/curlconverter/curlconverter-vscode/issues/1
https://github.com/electron/electron/issues/21457
though the error you're getting is something different, but you won't be able to use curlconverter version 4+ in electron even if you figure out this error.
I have never been able to use these two files in my electric, which hinders me from putting them in the webpack configuration according to the instructions, but still cannot be found