79743189

Date: 2025-08-22 09:06:29
Score: 8.5
Natty:
Report link

I’m facing the same issue, and setting "extends": null didn’t solve it for me either. I created the app using Create React App (CRA). When I run npm run dist, everything builds correctly, but when I execute myapp.exe, I get the error: enter image description here

Can someone help me figure out what’s going wrong?

My package.json is:

{

 (...)

 "main": "main.js",

 (...)

 "scripts": {

    (...)

    "start:electron": "electron .",
    "dist": "electron-builder"
  }

  (...)

  "build": {
    "extends":null,
    "appId": "com.name.app",
    "files": [
      "build/**/*",
      "main.js",
      "backend/**/*",
      "node_modules/**/*"
    ],
     "directories": {
      "buildResources": "public",
      "output": "dist"
    },
     },
    "win": {
      "icon": "public/iconos/logoAntea.png",
      "target": "nsis"
    },
    "nsis": {
      "oneClick": false,
      "allowToChangeInstallationDirectory": true,
      "perMachine": true,
      "createDesktopShortcut": true,
      "createStartMenuShortcut": true,
      "shortcutName": "Datos Moviles",
      "uninstallDisplayName": "Datos Moviles",
      "include": "nsis-config.nsh"
    }
  }
} 
Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (3): Can someone help me
  • RegEx Blacklisted phrase (1): I get the error
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Nerea Trillo Pérez