vue-cli-plugin-electron-builder icon indicating copy to clipboard operation
vue-cli-plugin-electron-builder copied to clipboard

serialport module works on Linux but can't cross-compile for Windows

Open mwllgr opened this issue 2 years ago • 0 comments

Describe the bug When compiling a vue-cli-pl...-project for Windows via the suggested Docker-approach on a Ubuntu at https://www.electron.build/multi-platform-build.html#build-electron-app-using-docker-on-a-local-machine - it looks like it compiled everything alright, but then, it doesn't work on Windows.

I'm compiling for Windows using yarn run electron:build --win.

I'm wondering if it's normal that it does not use any prebuilt packages, but rather tries to rebuild them: Screenshot_20220705_225307

As soon as serialport is needed, the following error appears: Screenshot: Error in developer console

I'm sorry if this is the wrong place to ask but I ran out of ideas on how to fix this.

Files/info that might be helpful:

mwllgr avatar Jul 05 '22 21:07 mwllgr