Hi
Thank you very much. The errors have disappeared but the layout is slightly different. For example the big logo is missing.
Hi,
Yes, you need to add using to the
_ViewImports.cshtml
file.@using System.Globalization @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling
Hi @liangshiwei
Only @using System.Globalization
line was missing in that file.
It still returning the same errors after adding it.
The error references $ which I presume is jquery. So it looks like jquery is not bundled or loaded somehow.
Does this happen even if you keep refreshing the page?
Hi @IanW, can I email you a link to the staging application please? By navigating to that link with developer tools opened you can check the network timeline.
Hi,
Chrome developer tools are showing slow preflight queries as seen on the 2 pictures. Fetching application configuration is slow as well.
Hi,
Could you share the full application logs?
Hi,
Our solution is a multiservice app based on the commercial multiservice template.
ABP Framework version: 7.2.2
We are are experiencing slow initial connection of preflight request and some requests taking tong time to return a response. The following pictures show the performance in developer tools:
with docker compose build
Does it work without docker-compose? eg
dotnet restore
ordotnet build
Yes dotnet build works on command line or in VS IDE. But it is not working with docker build. I am getting the following error:
[#35](https://abp.io/QA/Questions/35) 8.867 /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj : error NU1202: Package Volo.Abp.Commercial.Core 5.1.2 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Volo.Abp.Commercial.Core 5.1.2 supports: netstandard2.0 (.NETStandard,Version=v2.0)
[#35](https://abp.io/QA/Questions/35) 8.917 Failed to restore /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj (in 3.2 sec).
[#35](https://abp.io/QA/Questions/35) 8.926 3 of 7 projects are up-to-date for restore.
#0 142.8 /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj : error NU1101: Unable to find package Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, nuget.org [/src/MyProject.sln] #0 143.0 Failed to restore /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj (in 16.44 sec). #0 143.0 Restored /src/services/administration/src/MyProject.AdministrationService.HttpApi.Host/MyProject.AdministrationService.HttpApi.Host.csproj (in 1.9 min). #0 143.1 Restored /src/services/MyService1/src/MyProject.MyService1Service.HttpApi.Host/MyProject.MyService1Service.HttpApi.Host.csproj (in 1.66 sec). #0 145.1 /src/apps/auth-server/src/MyProject.AuthServer/MyProject.AuthServer.csproj : error NU1101: Unable to find package Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, nuget.org [/src/MyProject.sln] #0 145.1 /src/apps/auth-server/src/MyProject.AuthServer/MyProject.AuthServer.csproj : error NU1101: Unable to find package Volo.Abp.Account.Pro.Public.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, nuget.org [/src/MyProject.sln] #0 145.2 Failed to restore /src/apps/auth-server/src/MyProject.AuthServer/MyProject.AuthServer.csproj (in 1.94 min).
failed to solve: executor failed running [/bin/sh -c dotnet restore "MyProject.sln"]: exit code: 1
We are experiencing the same issue