Hello. Im running 4.5 beta on a 14" Macbook pro m1 (the new one) and i too get an error on Admin/Setting/GeneralCommon.
Steps:
1. Downloaded 4.5 beta zip source
2. ran install with a azure db sql server
3. run with dotnet run after dotnet restore
4. navigate to https://localhost:5001/Admin/Setting/GeneralCommon
This seems to be related: https://github.com/mono/SkiaSharp/issues/1341
https://imgur.com/a/sZDn7iS
System.DllNotFoundException: Unable to load shared library 'libSkiaSharp' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibSkiaSharp, 0x0001): tried: 'liblibSkiaSharp' (no such file), '/usr/local/lib/liblibSkiaSharp' (no such file), '/usr/lib/liblibSkiaSharp' (no such file), '/Users/sindremarkussen/Downloads/nopCommerce_4.50.0_beta_Source/src/Presentation/Nop.Web/liblibSkiaSharp' (no such file), '/usr/local/lib/liblibSkiaSharp' (no such file), '/usr/lib/liblibSkiaSharp' (no such file)
at SkiaSharp.SkiaApi.sk_filestream_new(Void* path)
at SkiaSharp.SKFileStream.CreateNew(String path)
at SkiaSharp.SKFileStream..ctor(String path)
at SkiaSharp.SKFileStream.OpenStream(String path)
at SkiaSharp.SKCodec.Create(String filename, SKCodecResult& result)
at SkiaSharp.SKCodec.Create(String filename)
at SkiaSharp.SKBitmap.Decode(String filename)
at Nop.Services.Media.PictureService.GetDefaultPictureUrlAsync(Int32 targetSize, PictureType defaultPictureType, String storeLocation) in /Users/sindremarkussen/Downloads/nopCommerce_4.50.0_beta_Source/src/Libraries/Nop.Services/Media/PictureService.cs:line 507
at Nop.Services.Media.PictureService.GetPictureUrlAsync(Picture picture, Int32 targetSize, Boolean showDefaultPicture, String storeLocation, PictureType defaultPictureType) in /Users/sindremarkussen/Downloads/nopCommerce_4.50.0_beta_Source/src/Libraries/Nop.Services/Media/PictureService.cs:line 564
at Nop.Services.Media.PictureService.GetPictureUrlAsync(Int32 pictureId, Int32 targetSize, Boolean showDefaultPicture, String storeLocation, PictureType defaultPictureType) in /Users/sindremarkussen/Downloads/nopCommerce_4.50.0_beta_Source/src/Libraries/Nop.Services/Media/PictureService.cs:line 542
at AspNetCore._Areas_Admin_Views_Shared_EditorTemplates_Picture.ExecuteAsync() in /Users/sindremarkussen/Downloads/nopCommerce_4.50.0_beta_Source/src/Presentation/Nop.Web/Areas/Admin/Views/Shared/EditorTemplates/Picture.cshtml:line 27
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
at Microsoft.AspNetCore.Mvc.ViewFeatures.TemplateRenderer.Render()
at Microsoft.AspNetCore.Mvc.ViewFeatures.TemplateBuilder.Build()
at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.GenerateEditor(ModelExplorer modelExplorer, String htmlFieldName, String templateName, Object additionalViewData)
at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.Editor(String expression, String templateName, String htmlFieldName, Object additionalViewData)
at Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperEditorExtensions.Editor(IHtmlHelper htmlHelper, String expression, String templateName, Object additionalViewData)
at Nop.Web.Framework.TagHelpers.Admin.NopEditorTagHelper.ProcessAsync(TagHelperContext context, TagHelperOutput output) in /Users/sindremarkussen/Downloads/nopCommerce_4.50.0_beta_Source/src/Presentation/Nop.Web.Framework/TagHelpers/Admin/NopEditorTagHelper.cs:line 148
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.RunAsync(TagHelperExecutionContext executionContext)
at AspNetCore._Areas_Admin_Views_Setting__GeneralCommon_Common.ExecuteAsync() in /Users/sindremarkussen/Downloads/nopCommerce_4.50.0_beta_Source/src/Presentation/Nop.Web/Areas/Admin/Views/Setting/_GeneralCommon.Common.cshtml:line 62
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer)
at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData)
at AspNetCore._Areas_Admin_Views_Setting_GeneralCommon.<>c__DisplayClass44_0.<<ExecuteAsync>b__5>d.MoveNext() in /Users/sindremarkussen/Downloads/nopCommerce_4.50.0_beta_Source/src/Presentation/Nop.Web/Areas/Admin/Views/Setting/GeneralCommon.cshtml:line 76
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.GetChildContentAsync(Boolean useCachedResult, HtmlEncoder encoder)
at Nop.Web.Framework.TagHelpers.Admin.NopCardTagHelper.ProcessAsync(TagHelperContext context, TagHelperOutput output) in /Users/sindremarkussen/Downloads/nopCommerce_4.50.0_beta_Source/src/Presentation/Nop.Web.Framework/TagHelpers/Admin/NopCardTagHelper.cs:line 166
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.<RunAsync>g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, Int32 i, Int32 count)
at AspNetCore._Areas_Admin_Views_Setting_GeneralCommon.<>c__DisplayClass44_0.<<ExecuteAsync>b__3>d.MoveNext() in /Users/sindremarkussen/Downloads/nopCommerce_4.50.0_beta_Source/src/Presentation/Nop.Web/Areas/Admin/Views/Setting/GeneralCommon.cshtml:line 76
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync()
at AspNetCore._Areas_Admin_Views_Setting_GeneralCommon.<>c__DisplayClass44_0.<<ExecuteAsync>b__0>d.MoveNext() in /Users/sindremarkussen/Downloads/nopCommerce_4.50.0_beta_Source/src/Presentation/Nop.Web/Areas/Admin/Views/Setting/GeneralCommon.cshtml:line 73
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.GetChildContentAsync(Boolean useCachedResult, HtmlEncoder encoder)
at Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper.ProcessAsync(TagHelperContext context, TagHelperOutput output)
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.<RunAsync>g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, Int32 i, Int32 count)
at AspNetCore._Areas_Admin_Views_Setting_GeneralCommon.ExecuteAsync() in /Users/sindremarkussen/Downloads/nopCommerce_4.50.0_beta_Source/src/Presentation/Nop.Web/Areas/Admin/Views/Setting/GeneralCommon.cshtml:line 51
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ActionContext actionContext, IView view, ViewDataDictionary viewData, ITempDataDictionary tempData, String contentType, Nullable`1 statusCode)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync(ActionContext context, ViewResult result)
at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync(ActionContext context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at StackExchange.Profiling.MiniProfilerMiddleware.Invoke(HttpContext context) in C:\projects\dotnet\src\MiniProfiler.AspNetCore\MiniProfilerMiddleware.cs:line 103
at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
at Nop.Services.Installation.InstallUrlMiddleware.InvokeAsync(HttpContext context, IWebHelper webHelper) in /Users/sindremarkussen/Downloads/nopCommerce_4.50.0_beta_Source/src/Libraries/Nop.Services/Installation/InstallUrlMiddleware.cs:line 52
at Nop.Services.Common.KeepAliveMiddleware.InvokeAsync(HttpContext context, IWebHelper webHelper) in /Users/sindremarkussen/Downloads/nopCommerce_4.50.0_beta_Source/src/Libraries/Nop.Services/Common/KeepAliveMiddleware.cs:line 49
at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.HandleException(HttpContext context, ExceptionDispatchInfo edi)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)