-
Notifications
You must be signed in to change notification settings - Fork 3
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
Invalid configuration object. #6
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tiddly-gittly/TidGi-Desktop@a41966e
I add this to forge.config.js
with
On CI https://github.com/tiddly-gittly/TidGi-Desktop/actions/runs/10330366460/job/28599302313 Error is:
❯ Making a squirrel distributable for win32/x64
❯ Making a portable distributable for win32/x64
• electron-builder version=23.6.0 os=10.0.20348
• artifacts will be published if draft release exists reason=CI detected
✖ Making a portable distributable for win32/x64 [FAILED: Invalid configuration object. electron-builder 23.6.0 has been initialized using a configuration object that does not match the API schema.
object { afterAllArtifactBuild?, afterPack?, afterSign?, apk?, appId?, appImage?, appx?, appxManifestCreated?, artifactBuildCompleted?, artifactBuildStarted?, artifactName?, asar?, asarUnpack?, beforeBuild?, beforePack?, buildDependenciesFromSource?, buildNumber?, buildVersion?, compression?, copyright?, cscKeyPassword?, cscLink?, deb?, defaultArch?, detectUpdateChannel?, directories?, dmg?, electronBranding?, electronCompile?, electronDist?, electronDownload?, electronUpdaterCompatibility?, electronVersion?, executableName?, extends?, extraFiles?, extraMetadata?, extraResources?, fileAssociations?, files?, flatpak?, forceCodeSigning?, framework?, freebsd?, generateUpdatesFilesForAllChannels?, icon?, includePdb?, includeSubNodeModules?, launchUiVersion?, linux?, mac?, mas?, masDev?, msi?, msiProjectCreated?, nodeGypRebuild?, nodeVersion?, npmArgs?, npmRebuild?, nsis?, nsisWeb?, onNodeModuleFile?, p5p?, pacman?, pkg?, portable?, productName?, protocols?, publish?, releaseInfo?, remoteBuild?, removePackageKeywords?, removePackageScripts?, rpm?, snap?, squirrelWindows?, target?, win?, $schema? }
-> Configuration Options
How to fix:
* Not found? The option was deprecated or not exists (check spelling).
* Found? Check that the option in the appropriate place. e.g. "title" only in the "dmg", not in the root.
]
✖ Making distributables [FAILED: Invalid configuration object. electron-builder 23.6.0 has been initialized using a configuration object that does not match the API schema.
object { afterAllArtifactBuild?, afterPack?, afterSign?, apk?, appId?, appImage?, appx?, appxManifestCreated?, artifactBuildCompleted?, artifactBuildStarted?, artifactName?, asar?, asarUnpack?, beforeBuild?, beforePack?, buildDependenciesFromSource?, buildNumber?, buildVersion?, compression?, copyright?, cscKeyPassword?, cscLink?, deb?, defaultArch?, detectUpdateChannel?, directories?, dmg?, electronBranding?, electronCompile?, electronDist?, electronDownload?, electronUpdaterCompatibility?, electronVersion?, executableName?, extends?, extraFiles?, extraMetadata?, extraResources?, fileAssociations?, files?, flatpak?, forceCodeSigning?, framework?, freebsd?, generateUpdatesFilesForAllChannels?, icon?, includePdb?, includeSubNodeModules?, launchUiVersion?, linux?, mac?, mas?, masDev?, msi?, msiProjectCreated?, nodeGypRebuild?, nodeVersion?, npmArgs?, npmRebuild?, nsis?, nsisWeb?, onNodeModuleFile?, p5p?, pacman?, pkg?, portable?, productName?, protocols?, publish?, releaseInfo?, remoteBuild?, removePackageKeywords?, removePackageScripts?, rpm?, snap?, squirrelWindows?, target?, win?, $schema? }
-> Configuration Options
How to fix:
* Not found? The option was deprecated or not exists (check spelling).
* Found? Check that the option in the appropriate place. e.g. "title" only in the "dmg", not in the root.
]
An unhandled rejection has occurred inside Forge:
ValidationError: Invalid configuration object. electron-builder 23.6.0 has been initialized using a configuration object that does not match the API schema.
object { afterAllArtifactBuild?, afterPack?, afterSign?, apk?, appId?, appImage?, appx?, appxManifestCreated?, artifactBuildCompleted?, artifactBuildStarted?, artifactName?, asar?, asarUnpack?, beforeBuild?, beforePack?, buildDependenciesFromSource?, buildNumber?, buildVersion?, compression?, copyright?, cscKeyPassword?, cscLink?, deb?, defaultArch?, detectUpdateChannel?, directories?, dmg?, electronBranding?, electronCompile?, electronDist?, electronDownload?, electronUpdaterCompatibility?, electronVersion?, executableName?, extends?, extraFiles?, extraMetadata?, extraResources?, fileAssociations?, files?, flatpak?, forceCodeSigning?, framework?, freebsd?, generateUpdatesFilesForAllChannels?, icon?, includePdb?, includeSubNodeModules?, launchUiVersion?, linux?, mac?, mas?, masDev?, msi?, msiProjectCreated?, nodeGypRebuild?, nodeVersion?, npmArgs?, npmRebuild?, nsis?, nsisWeb?, onNodeModuleFile?, p5p?, pacman?, pkg?, portable?, productName?, protocols?, publish?, releaseInfo?, remoteBuild?, removePackageKeywords?, removePackageScripts?, rpm?, snap?, squirrelWindows?, target?, win?, $schema? }
-> Configuration Options
How to fix:
* Not found? The option was deprecated or not exists (check spelling).
* Found? Check that the option in the appropriate place. e.g. "title" only in the "dmg", not in the root.
at validate (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules.pnpm@develar+schema-utils@2.6.5\node_modules@develar\schema-utils\dist\validate.js:86:11)
at Object.validateConfig (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules.pnpm\app-builder-lib@23.6.0\node_modules\app-builder-lib\src\util\config.ts:240:3)
at Packager._build (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules.pnpm\app-builder-lib@23.6.0\node_modules\app-builder-lib\src\packager.ts:342:5)
at Packager.build (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules.pnpm\app-builder-lib@23.6.0\node_modules\app-builder-lib\src\packager.ts:337:12)
at Object.executeFinally (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules.pnpm\builder-util@23.6.0\node_modules\builder-util\src\promise.ts:12:14)
at D:\a\TidGi-Desktop\TidGi-Desktop\node_modules.pnpm@electron-forge+core@7.4.0_encoding@0.1.13\node_modules@electron-forge\core\src\api\make.ts:280:41
at _Task.taskFn (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules.pnpm@electron-forge+tracer@7.4.0\node_modules@electron-forge\tracer\src\index.ts:51:14)
at _Task.run (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules.pnpm\listr2@7.0.2\node_modules\listr2\dist\index.cjs:2063:11)
25h ELIFECYCLE Command failed with exit code 1.
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered: