Description
Pre-flight checklist
- I have read the contribution documentation for this project.
- I agree to follow the code of conduct that this project uses.
- I have searched the issue tracker for a bug that matches the one I want to file, without success.
Forge version
7.6.1
Electron version
35.0.2
Operating system
Windows server 2019, Windows server 2022, Windows server 2025
Last known working Forge version
7.6.1
Expected behavior
When running electron forge make script on azure pipeline agent, forge should create the distributable files for the application
Actual behavior
When I run 'make' script on azure pipeline agent, it fails on step 'Making a squirrel distributable for win32/x64'. The exception trace is:
× Making a squirrel distributable for win32/x64 [FAILED: Failed with exit code: 4294967295 Output: System.AggregateException: One or more errors occurred. ---> System.ComponentModel.Win32Exception: The system cannot find the file specified at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) at Squirrel.Utility.<InvokeProcessAsync>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Utility.<CreateZipFromDirectory>d__23.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Squirrel.ReleasePackage.CreateReleasePackage(String outputFile, String packagesRootDir, Func
2 releaseNotesProcessor, Action1 contentsPostProcessHook) at Squirrel.Update.Program.Releasify(String package, String targetDir, String packagesDir, String bootstrapperExe, String backgroundGif, String signingOpts, String baseUrl, String setupIcon, Boolean generateMsi, Boolean packageAs64Bit, String frameworkVersion, Boolean generateDeltas) at Squirrel.Update.Program.executeCommandLine(String[] args) at Squirrel.Update.Program.main(String[] args) at Squirrel.Update.Program.Main(String[] args) ---> (Inner Exception #0) System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) at Squirrel.Utility.<InvokeProcessAsync>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Utility.<CreateZipFromDirectory>d__23.MoveNext()<---
Steps to reproduce
- Create an electron application and push it to a repo on azure devops
- Configure squirrel maker
- Run make script
Additional information
The process was working before, my last successful run was on October 18th, 2024. I searched for similar issues and I found that GitHub issue, and also that StackOverflow question, but none of the proposed fixes worked. It works fine on my machine, using Windows 11. I also tried to run that on an ubuntu agent, with mono and wine installed, and I got an error related to the graphics driver. I really don't know what's that related to, I tried running my previous commit, which triggered the last successful run and it also failed.