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:
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:
And here is my VM environment:
User contributions licensed under CC BY-SA 3.0