-
-
Notifications
You must be signed in to change notification settings - Fork 535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A Very Unhelpful error message #3397
Comments
Do you have a full stack trace? |
If you mean by using --verbose on the npm flags then yes: |
No, I mean the rest of the text close to where you're getting |
Here:
✔ Checking your system An unhandled rejection has occurred inside Forge: |
That's a syntax error in your |
Pre-flight checklist
Electron Forge version
9.2.0
Electron version
9.2.0
Operating system
PikaOS 3 (Ubuntu 23.10, Lunar Lobster Based)
Last known working Electron Forge version
9.2.0
Expected behavior
Either an actually descriptive error or it to go on as normal
Actual behavior
Gives me a very unhelpful error and will not continue the build:
An unhandled rejection has occurred inside Forge:
SyntaxError: Unexpected token ','
Steps to reproduce
It was working just fine yesterday when I made a build, all I've done since then is rebooted my computer and try to build the exact same thing again.
Additional information
Full command run: npm run make
forge.config.js:
rebuildConfig: {},
makers: [
{
name: '@electron-forge/maker-squirrel',
config: {},
platforms: ["linux"]
},
{
name: "@electron-forge/maker-zip",
config: {},
platforms: ["linux"]
}
],
plugins: [
{
name: '@electron-forge/plugin-auto-unpack-natives',
config: {},
},
]
package.json:
{
"name": "dodge-the-french",
"version": "0.0.1",
"author": "The Man Studios",
"license": "Restrictive As Fuck",
"description": "A game where baguette",
"main": "index.js",
"scripts": {
"start": "electron-forge start",
"test": "echo "Error: no test specified" && exit 1",
"package": "electron-forge package",
"make": "electron-forge make"
},
"devDependencies": {
"@electron-forge/cli": "^6.4.2",
"@electron-forge/maker-deb": "^6.4.2",
"@electron-forge/maker-rpm": "^6.4.2",
"@electron-forge/maker-squirrel": "^6.4.2",
"@electron-forge/maker-zip": "^6.4.2",
"@electron-forge/plugin-auto-unpack-natives": "^6.4.2",
"electron": "^26.2.0",
"electron-installer-debian": "^3.0.0"
},
"dependencies": {
"electron-squirrel-startup": "^1.0.0"
},
"icon": {
"iconPath": {
"win": "icons/icon.ico",
"linux": "icons/icon.png"
}
}
}
I cannot spot any errors in either of those files, even after looking at them for a while.
The text was updated successfully, but these errors were encountered: