Open markddrake opened 5 years ago
I think this is an issue with your package.json
and probably having spaces in places that should have, or that something is missing from it. Can you post it here?
C:\gui\dist\yadamu-win32-x64\resources\app>type package.json
{
"name": "yadamu",
"version": "1.0.0",
"description": "User Interface for YADAMU",
"main": "main.js",
"scripts": {
"start": "electron ./"
},
"repository": {
"type": "git",
"url": "TBD"
},
"author": "Mark D Drake",
"license": "SEE LICENSE IN TDB.txt",
"dependencies": {
"bootstrap": "^4.3.1",
"font-awesome": "^4.7.0",
"jquery": "^3.4.1",
"mariadb": "^2.1.2",
"mssql": "^5.1.0",
"mysql": "^2.17.1",
"oracledb": "^4.0.1",
"pg": "^7.12.1",
"pg-copy-streams": "^2.2.2",
"pg-query-stream": "^2.0.1",
"popper.js": "^1.16.0",
"require": "^2.4.20",
"uuid": "^3.3.3",
"wkx": "^0.4.8"
},
"devDependencies": {
"electron": "^7.0.1",
"electron-packager": "^14.1.0"
}
}
C:\gui\dist\yadamu-win32-x64\resources\app>
I can't reproduce this, but a simple Google search showed me that the error might be related to having spaces in your filenames, Squirrel doesn't seem to like that because it makes an invalid URI.
If you can run the example successfully, then it's definitely not our tool.
Also, try running the command with the variable DEBUG='electron-installer-windows'
, I always have trouble using this with cmd
or powershell
, so I recommend running it on bash
. Nonetheless, the output of that might give you a better clue of what's going on here. Feel free to post it here but I don't know how much help I can be.
What version of
electron-installer-windows
are you using?What version of
node
andnpm
are you using?What operating system are you using?
Can you compile the example app successfully?
If not, paste here the output of the following commands:
What did you do? Please include the configuration you are using for
electron-installer-windows
.What did you expect to happen?
A Windows installer would be created for my application
What actually happened?
The process failed with