Open jdev082 opened 5 months ago
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: