Open nelsonni opened 1 year ago
The npm
and pnpm
versions do not have this issue, so it appears to be isolated to using yarn
.
Maybe the following example is better for you. https://github.com/caoxiemeihao/electron-vite-samples/tree/main/serialport-renderer-process
The
yarn create electron-vite electron-vite-project
command in the README results in a non-runnable Electron application. After installing dependencies throughyarn
(oryarn install
), and attempting to launch the dev mode viayarn dev
, I get the following error:The full log is included below: