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
E: \ workplace5 \ programming \ electronTest> npm run
make
electronTest@1.0.0 make E: \ workplace5 \ programming \ electronTest
electron-forge make
√ Checking your system
√ Resolving Forge Config
We need to package your application before we can make it
√ Preparing to Package Application for arch: ia32
√ Preparing native dependencies
√ Packaging Application
Making for the following targets: squirrel
× Making for target: squirrel - On platform: win32 - For arch: ia32
An unhandled error has occurred inside Forge:
An error occured while making for target: squirrel
Failed with exit code: 4294967295
Output:
System.AggregateException: One or more errors have occurred. ---> System.ComponentModel.Win32Exception: The specified executable file is not a valid application for this operating system.
at System.Diagnostics.Process.StartWithCreateProcess (ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start ()
at System.Diagnostics.Process.Start (ProcessStartInfo startInfo)
at Squirrel.Utility. d__11.MoveNext ()
--- End of the stack trace from the previous location where the exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task
task)
at Squirrel.Utility. d__23.MoveNext ()
--- End of internal exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait ()
at Squirrel.ReleasePackage.CreateReleasePackage (String outputFile, String packagesRootDir, Func2 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, 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)
---> (Internal Exception # 0) System.ComponentModel.Win32Exception (0x80004005): The specified executable file is not a valid application for this operating system.
at System.Diagnostics.Process.StartWithCreateProcess (ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start ()
at System.Diagnostics.Process.Start (ProcessStartInfo startInfo)
at Squirrel.Utility. d__11.MoveNext ()
--- End of the stack trace from the previous location where the exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task
task)
in Squirrel.Utility. d__23.MoveNext () <---
Error: Failed with exit code: 4294967295
Output:
System.AggregateException: One or more errors have occurred. ---> System.ComponentModel.Win32Exception: The specified executable file is not a valid application for this operating system.
at System.Diagnostics.Process.StartWithCreateProcess (ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start ()
at System.Diagnostics.Process.Start (ProcessStartInfo startInfo)
at Squirrel.Utility. d__11.MoveNext ()
--- End of the stack trace from the previous location where the exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task
task)
at Squirrel.Utility. d__23.MoveNext ()
--- End of internal exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait ()
at Squirrel.ReleasePackage.CreateReleasePackage (String outputFile, String packagesRootDir, Func2 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, 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)
---> (Internal Exception # 0) System.ComponentModel.Win32Exception (0x80004005): The specified executable file is not a valid application for this operating system.
at System.Diagnostics.Process.StartWithCreateProcess (ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start ()
at System.Diagnostics.Process.Start (ProcessStartInfo startInfo)
at Squirrel.Utility. d__11.MoveNext ()
--- End of the stack trace from the previous location where the exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task
task)
in Squirrel.Utility. d__23.MoveNext () <---
at ChildProcess. <anonymous> (E: \ workplace5 \ programming \ electronTest \ node_modules \ electron-winstaller \ src \ spawn-promise.ts: 52: 16)
at ChildProcess.emit (events.js: 315: 20)
at ChildProcess.EventEmitter.emit (domain.js: 483: 12)
at maybeClose (internal / child_process.js: 1021: 16)
at Process.ChildProcess._handle.onexit (internal / child_process.js: 286: 5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electronTest@1.0.0 make: electron-forge make
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electronTest@1.0.0 make
script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C: \ Users \ admin \ AppData \ Roaming \ npm-cache \ _logs \ 2020-12-01T17_34_05_546Z-debug.log
The text was updated successfully, but these errors were encountered:
E: \ workplace5 \ programming \ electronTest> npm run
make
√ Checking your system
√ Resolving Forge Config
We need to package your application before we can make it
√ Preparing to Package Application for arch: ia32
√ Preparing native dependencies
√ Packaging Application
Making for the following targets: squirrel
× Making for target: squirrel - On platform: win32 - For arch: ia32
An unhandled error has occurred inside Forge:
An error occured while making for target: squirrel
Failed with exit code: 4294967295
Output:
System.AggregateException: One or more errors have occurred. ---> System.ComponentModel.Win32Exception: The specified executable file is not a valid application for this operating system.
at System.Diagnostics.Process.StartWithCreateProcess (ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start ()
at System.Diagnostics.Process.Start (ProcessStartInfo startInfo)
at Squirrel.Utility. d__11.MoveNext ()
--- End of the stack trace from the previous location where the exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task
task)
at Squirrel.Utility. d__23.MoveNext ()
--- End of internal exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait ()
at Squirrel.ReleasePackage.CreateReleasePackage (String outputFile, String packagesRootDir, Func
2 releaseNotesProcessor, Action
1 contentsPostProcessHook)at Squirrel.Update.Program.Releasify (String package, String targetDir, String packagesDir, String bootstrapperExe, String backgroundGif, String signingOpts, String baseUrl, String setupIcon, Boolean generateMsi, 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)
---> (Internal Exception # 0) System.ComponentModel.Win32Exception (0x80004005): The specified executable file is not a valid application for this operating system.
at System.Diagnostics.Process.StartWithCreateProcess (ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start ()
at System.Diagnostics.Process.Start (ProcessStartInfo startInfo)
at Squirrel.Utility. d__11.MoveNext ()
--- End of the stack trace from the previous location where the exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task
task)
in Squirrel.Utility. d__23.MoveNext () <---
Error: Failed with exit code: 4294967295
Output:
System.AggregateException: One or more errors have occurred. ---> System.ComponentModel.Win32Exception: The specified executable file is not a valid application for this operating system.
at System.Diagnostics.Process.StartWithCreateProcess (ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start ()
at System.Diagnostics.Process.Start (ProcessStartInfo startInfo)
at Squirrel.Utility. d__11.MoveNext ()
--- End of the stack trace from the previous location where the exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task
task)
at Squirrel.Utility. d__23.MoveNext ()
--- End of internal exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait ()
at Squirrel.ReleasePackage.CreateReleasePackage (String outputFile, String packagesRootDir, Func
2 releaseNotesProcessor, Action
1 contentsPostProcessHook)at Squirrel.Update.Program.Releasify (String package, String targetDir, String packagesDir, String bootstrapperExe, String backgroundGif, String signingOpts, String baseUrl, String setupIcon, Boolean generateMsi, 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)
---> (Internal Exception # 0) System.ComponentModel.Win32Exception (0x80004005): The specified executable file is not a valid application for this operating system.
at System.Diagnostics.Process.StartWithCreateProcess (ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start ()
at System.Diagnostics.Process.Start (ProcessStartInfo startInfo)
at Squirrel.Utility. d__11.MoveNext ()
--- End of the stack trace from the previous location where the exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task
task)
in Squirrel.Utility. d__23.MoveNext () <---
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electronTest@1.0.0 make:
electron-forge make
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electronTest@1.0.0 make
script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C: \ Users \ admin \ AppData \ Roaming \ npm-cache \ _logs \ 2020-12-01T17_34_05_546Z-debug.log
The text was updated successfully, but these errors were encountered: