Skip to content
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

System.InvalidOperationException #1877

Open
QWXL opened this issue Mar 15, 2024 · 0 comments
Open

System.InvalidOperationException #1877

QWXL opened this issue Mar 15, 2024 · 0 comments

Comments

@QWXL
Copy link

QWXL commented Mar 15, 2024

Squirrel version(s)
2.0.0

Description

[15/03/24 23:59:48] info: Program: Starting Squirrel Updater: --install .
[15/03/24 23:59:48] info: Program: Starting install, writing to C:\Users\86150\AppData\Local\SquirrelTemp
[15/03/24 23:59:48] fatal: Finished with unhandled exception: System.AggregateException: 发生一个或多个错误。 ---> System.InvalidOperationException: 序列不包含任何元素
   在 System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   在 Squirrel.Update.Program.<Install>d__4.MoveNext()
   --- 内部异常堆栈跟踪的结尾 ---
   在 System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   在 System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   在 Squirrel.Update.Program.executeCommandLine(String[] args)
   在 Squirrel.Update.Program.main(String[] args)
---> (内部异常 #0) System.InvalidOperationException: 序列不包含任何元素
   在 System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   在 Squirrel.Update.Program.<Install>d__4.MoveNext()<---

Steps to recreate

  1. I just distributed my packaged application to my users.

Expected behavior
The application should complete the installation without any problems

Actual behavior
The first moment you run the installer, an error pops up!

Additional information
i use Electron forge , but I didn't succeed in reproducing the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant