-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
I come to you because after several days of research I did not manage to correct this problem, when i try to create an nsis installer.
you will find attached my json file is the error.
if anyone has an answer to my problem please help me please.
node: v12.18.2
npm: 6.14.5
{
"name": "electron-quick-start",
"version": "2.0.0",
"description": "A minimal Electron application",
"main": "main.js",
"repository": {
"type": "git",
"url": "git+https://github.com"
},
"keywords": [
"Electron"
],
"author": "GitHub",
"license": "CC0-1.0",
"devDependencies": {
"electron": "^9.1.0",
"electron-builder": "^22.0.0"
},
"scripts": {
"start": "electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder"
},
"build": {
"appId": "yourappid",
"win": {
"target": "NSIS"
}
}
}
electron-builder version=22.7.0 os=10.0.19041
• loaded configuration file=package.json ("build" field)
• writing effective config file=dist\builder-effective-config.yaml
• packaging platform=win32 arch=x64 electron=9.1.0 appOutDir=dist\win-unpacked
• default Electron icon is used reason=application icon is not set
• building target=nsis file=dist\electron-quick-start Setup 1.0.0.exe archs=x64 oneClick=true perMachine=false
⨯ C:\Users\C******_M*******\AppData\Local\electron-builder\Cache\nsis\nsis-3.0.4.1\Bin\makensis.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Output: