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

Building app with electron-builder failure -- win 10

Open gianlucamazzeo opened this issue 3 years ago • 1 comments

Describe the bug I am trying to build the app with win 10 with command:

npm run electron:build --win

by passing the following parameters in vue.config.json: pluginOptions: { electronBuilder: { preload: 'src/preload.js', rendererProcessFile: 'src/main.js', builderOptions: { productName: "Demo Vuejs", appId: 'nam.com', win: { target: [ { target: 'nsis', arch: [ 'x64' ] } ], icon: 'public/svg.png', "requestedExecutionLevel": "requireAdministrator" }, "nsis": { "installerIcon": "public/favicon.ico", "uninstallerIcon": "public/favicon.ico", "uninstallDisplayName": "Monitor", "license": "license.txt", "oneClick": false, "allowToChangeInstallationDirectory": true },

    }      
}

...... Error in console: packaging platform=win32 arch=x64 electron=12.0.11 appOutDir=dist_electron\win-unpacked • server doesn't support ranges

Can you Help me, Thanks

gianlucamazzeo avatar Jun 16 '21 08:06 gianlucamazzeo

I need more information to debug this. Please post a repo that demonstrates the error or at least your package.json.

nklayman avatar Jun 23 '21 21:06 nklayman