nocmt / ewelink-api-next

CoolKit v2 API Official Library
MIT License
19 stars 4 forks source link

Optional chaining error when importing api into electron vite vue application #15

Closed AndrazPustotnik closed 10 months ago

AndrazPustotnik commented 10 months ago

image Why is that happening, and why is error pointing to webpack if I am using vite?

AndrazPustotnik commented 10 months ago

The issue occurred during migration from webpack to vite. Vite electron project somehow invoked webpack project error. Probably through single instance lock. I was a mess, but looks like it works for now.