得得

开源
FastGithub社区

linux中安装报错

lyn520 2021-11-01 14:11 1回复

Bug描述
linux中安装报错:
Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
at System.Environment.FailFast(System.String)
at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
at System.Globalization.GlobalizationMode..cctor()
at System.Globalization.CultureData.CreateCultureWithInvariantData()
at System.Globalization.CultureData.get_Invariant()
at System.Globalization.CultureInfo..cctor()
at System.Globalization.CultureInfo.get_CachedCulturesByName()
at System.Globalization.CultureInfo.GetCultureInfo(System.String)
at System.Reflection.RuntimeAssembly.GetLocale()
at System.Reflection.RuntimeAssembly.GetName(Boolean)
at System.Reflection.Assembly.GetName()
at Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions.UseStartup(Microsoft.AspNetCore.Hosting.IWebHostBuilder, System.Type)
at Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions.UseStartup[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]
at FastGithub.Program+<>c.b__1_2(Microsoft.AspNetCore.Hosting.IWebHostBuilder)
at Microsoft.Extensions.Hosting.GenericHostBuilderExtensions+<>c__DisplayClass0_0.b__0(Microsoft.AspNetCore.Hosting.IWebHostBuilder)
at Microsoft.Extensions.Hosting.GenericHostWebHostBuilderExtensions.ConfigureWebHost(Microsoft.Extensions.Hosting.IHostBuilder, System.Action1<Microsoft.AspNetCore.Hosting.IWebHostBuilder>, System.Action1<Microsoft.Extensions.Hosting.WebHostBuilderOptions>)
at Microsoft.Extensions.Hosting.GenericHostWebHostBuilderExtensions.ConfigureWebHost(Microsoft.Extensions.Hosting.IHostBuilder, System.Action1<Microsoft.AspNetCore.Hosting.IWebHostBuilder>) at Microsoft.Extensions.Hosting.GenericHostBuilderExtensions.ConfigureWebHostDefaults(Microsoft.Extensions.Hosting.IHostBuilder, System.Action1<Microsoft.AspNetCore.Hosting.IWebHostBuilder>)
at FastGithub.Program.CreateHostBuilder(System.String[])
at FastGithub.Program.Main(System.String[])
Aborted

重现步骤

  1. 执行./fastgithub

软件信息

  • 操作系统: [e.g. centos-x64]
  • FastGithub: [e.g. v2.0.4]
1 条回复
  • #1
    xljiulang 2021-11-01 14:11

    centos7或以下的吧?试试yum install libicu