The application was unable to start correctly (0xc0000022)

0

I am stuck for weeks with my electron-angular app running locally but not on the VM it should be deployed in with this error message:

The application was enable to start correctly

Has anyone encountered this error ?

Here is the electron-builder.json

{
    "productName": "MyApp",
    "directories": {
        "output": "C:-path-to-output"
    },
    "files": [
        "**/*",
        "!**/*.ts",
        "!*.code-workspace",
        "!LICENSE.md",
        "!package.json",
        "!package-lock.json",
        "!src/",
        "!e2e/",
        "!hooks/",
        "!angular.json",
        "!_config.yml",
        "!karma.conf.js",
        "!tsconfig.json",
        "!tslint.json"
    ],
    "win": {
        "icon": "dist",
        "target": [
            "portable"
        ],
        "requestedExecutionLevel": "highestAvailable"
     },
     "mac": {
         "icon": "dist",
         "target": [
             "dmg"
         ]
     },
     "linux": {
         "icon": "dist",
         "target": [
             "AppImage"
         ]
     },
     "asarUnpack": [
         "./server",
         "./src/app/configs"
     ]
}

Here is my local environment:

  • Windows 10 Entreprise (64-bit x64 processor)
  • Node.js v12.14.1
  • Npm V6.13.4
  • Electron v7.1.7
  • Electron-Builder V22.5.1
  • Angular V8.2

And here is my VM environment:

  • Windows 10 Entreprise (64-bit x64 processor)
  • Node.js v12.20.1
  • Npm v6.14.10
node.js
windows
electron
electron-builder
asked on Stack Overflow Feb 16, 2021 by Amadou Beye • edited Mar 17, 2021 by Josnidhin

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0