You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Last known release used a mix of v6.4.2 and v6.2.1. The latter being the version of both publisher-github and maker-rpm
Expected behavior
The release be built successfully and a release created.
Actual behavior
Run npm run publish
> catalyst@3.6.0-beta.8 publish
> electron-forge publish
[STARTED] Checking your system
[STARTED] Checking git exists
[STARTED] Checking node version
[STARTED] Checking packageManager version
[TITLE] Found git@2.43.2
[SUCCESS] Found git@2.43.2
[TITLE] Found node@16.20.2
[SUCCESS] Found node@16.20.2
[TITLE] Found npm@8.19.4
[SUCCESS] Found npm@8.19.4
[SUCCESS] Checking your system
[STARTED] Loading configuration
[SUCCESS] Loading configuration
[STARTED] Resolving publish targets
[DATA] Publishing to the following targets: github
[SUCCESS] Resolving publish targets
[STARTED] Running make command
[STARTED] Loading configuration
[SUCCESS] Loading configuration
[STARTED] Resolving make targets
[DATA] Making for the following targets: , ,
[SUCCESS] Resolving make targets
[STARTED] Running package command
[STARTED] Preparing to package application
[SUCCESS] Preparing to package application
[STARTED] Running packaging hooks
[STARTED] Running generateAssets hook
[SUCCESS] Running generateAssets hook
[STARTED] Running prePackage hook
[SUCCESS] Running prePackage hook
[SUCCESS] Running packaging hooks
[STARTED] Packaging application
[DATA] Determining targets...
[STARTED] Packaging for x64 on linux
[STARTED] Copying files
[SUCCESS] Copying files
[STARTED] Preparing native dependencies
[TITLE] Preparing native dependencies
[SUCCESS] Preparing native dependencies
[STARTED] Finalizing package
[SUCCESS] Finalizing package
[SUCCESS] Packaging for x64 on linux
[SUCCESS] Packaging application
[STARTED] Running postPackage hook
[SUCCESS] Running postPackage hook
[SUCCESS] Running package command
[STARTED] Running preMake hook
[SUCCESS] Running preMake hook
[STARTED] Making distributables
[FAILED] maker.clone is not a function
[FAILED] maker.clone is not a function
An unhandled rejection has occurred inside Forge:
TypeError: maker.clone is not a function
at /home/runner/work/Catalyst/Catalyst/node_modules/@electron-forge/core/dist/api/make.js:120:45
at /home/runner/work/Catalyst/Catalyst/node_modules/@electron-forge/core/dist/api/make.js:181:43
at async Task.task (/home/runner/work/Catalyst/Catalyst/node_modules/@electron-forge/tracer/dist/index.js:58:20)
at async Task.run (/home/runner/work/Catalyst/Catalyst/node_modules/listr2/dist/index.cjs:978:11)
at async /home/runner/work/Catalyst/Catalyst/node_modules/p-map/index.js:57:22
Error: Process completed with exit code 1.
Build fails and stops action
Steps to reproduce
Attempt to build release through GitHub actions with latest Electron Forge version.
The same issue occurs when attempting to build on my system:
> catalyst@3.6.0-beta.8 make
> electron-forge make
✔ Checking your system
✔ Loading configuration
✔ Resolving make targets
› Making for the following targets: , ,
✔ Running package command
✔ Preparing to package application
✔ Running packaging hooks
✔ Running generateAssets hook
✔ Running prePackage hook
✔ Packaging application
✔ Packaging for x64 on linux [9s]
✔ Running postPackage hook
✔ Running preMake hook
✖ Making distributables
› maker.clone is not a function
◼ Running postMake hook
An unhandled rejection has occurred inside Forge:
TypeError: maker.clone is not a function
at /home/user/Projects/Catalyst/node_modules/@electron-forge/core/dist/api/make.js:120:45
at /home/user/Projects/Catalyst/node_modules/@electron-forge/core/dist/api/make.js:181:43
at async Task.task (/home/user/Projects/Catalyst/node_modules/@electron-forge/tracer/dist/index.js:58:20)
at async Task.run (/home/user/Projects/Catalyst/node_modules/listr2/dist/index.cjs:978:11)
at async /home/user/Projects/Catalyst/node_modules/p-map/index.js:57:22
Pre-flight checklist
Electron Forge version
7.3.1
Electron version
29.1.5
Operating system
GitHub actions: macos-latest (macOS 12), windows-latest (Windows 2022 runner image), ubuntu-latest (22.04)
Last known working Electron Forge version
Last known release used a mix of v6.4.2 and v6.2.1. The latter being the version of both publisher-github and maker-rpm
Expected behavior
The release be built successfully and a release created.
Actual behavior
Build fails and stops action
Steps to reproduce
Attempt to build release through GitHub actions with latest Electron Forge version.
Additional information
Project in question: https://github.com/CatalystDevOrg/Catalyst
package.json for last working build: https://github.com/CatalystDevOrg/Catalyst/blob/v4.0.0-beta.3/package.json
package.json latest: https://github.com/CatalystDevOrg/Catalyst/blob/develop/package.json
GitHub action file: https://github.com/CatalystDevOrg/Catalyst/blob/develop/.github/workflows/build.yml
The only changes to the build system were updates to Electron Forge's packages. Dependencies are readily updated during development of new releases.
Individual build attempts can be investigated at https://github.com/CatalystDevOrg/Catalyst/actions/workflows/build.yml
Here's a summary of the above files:
Electron Forge versions of last working build:
Electron forge versions of develop:
Electron Forge config:
The text was updated successfully, but these errors were encountered: