Hi, I am trying to make a build of app https://github.com/nontrip/YaStreamDesktop
If I make a "clean" build without precompiling there is an exception unexpected token import.
If I make a build with compiling modules there is an exception that something is not precompiled or something is missing.
So I really need your help as I tried everything I found and I am quite close to give up, but we spent a lot of effort on this project(
pls...
HI, My steps.
git clone https://github.com/nontrip/YaStreamDesktop.gityarnyarn add electron-builder --dev"win": "electron-builder --win --x64 --dir" "build": {
"appId": "your.id"
"files": [
"!log.txt"
],
"extraFiles": [
"log.txt"
]
}
6.edit main.js
import { app, BrowserWindow } from 'electron';
//to
const {app, BrowserWindow} = require('electron')
7.yarn win
He seems to be working properly.

袘褍写械屑 褋褔懈褌邪褌褜, 胁褋械 芯泻 褋械泄褔邪褋, 械褋谢懈 褔褌芯, 锌械褉械芯褌泻褉褘胁邪泄褌械 ;)
Most helpful comment
HI, My steps.
git clone https://github.com/nontrip/YaStreamDesktop.gityarnyarn add electron-builder --dev"win": "electron-builder --win --x64 --dir"6.edit main.js
7.
yarn winHe seems to be working properly.