- ABP Framework version: v7.3.X
- UI Type: Angular
- Database System: EF Core (MySQL)
- Tiered (for MVC) or Auth Server Separated (for Angular): Auth server separated angular
- Exception message and full stack trace:
- [12:21:50 INF] Request starting HTTP/1.1 GET http://xxxxx:44322/Account/Login - -
[12:21:50 INF] Executing endpoint '/Account/Login'
[12:21:50 INF] Route matched with {page = "/Account/Login", area = "", action = "", controller = ""}. Executing page /Account/Login
[12:21:50 INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
[12:21:50 INF] Executing handler method Volo.Abp.Account.Public.Web.Pages.Account.LoginModel.OnGetAsync - ModelState is Valid
[12:21:50 INF] Executed handler method OnGetAsync, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
[12:21:50 INF] Bundling __bundles/LeptonX.Global.9325FB768F9C0093DC4664395D730921.css (17 files)
[12:21:50 INF] Executed page /Account/Login in 91.5446ms
[12:21:50 INF] Executed endpoint '/Account/Login'
[12:21:50 ERR] An unhandled exception has occurred while executing the request.
Volo.Abp.AbpException: Could not find file '/libs/abp/core/abp.css'
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetFileInfo(IBundlerContext context, String file)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetAndMinifyFileContent(IBundlerContext context, String fileName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetFileContentConsideringMinification(IBundlerContext context, String fileName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.AddFileToBundle(IBundlerContext context, StringBuilder bundleContentBuilder, String fileName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.Bundle(IBundlerContext context)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.<>c__DisplayClass16_0.<GetBundleFilesAsync>b__0()
at System.Collections.Generic.AbpDictionaryExtensions.<>c__DisplayClass7_0
2.<GetOrAdd>b__0(TKey k) at System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd(TKey key, Func2 valueFactory) at System.Collections.Generic.AbpDictionaryExtensions.GetOrAdd[TKey,TValue](ConcurrentDictionary
2 dictionary, TKey key, Func1 factory) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleCache.GetOrAdd(String bundleName, Func
1 factory) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.GetBundleFilesAsync(BundleConfigurationCollection bundles, String bundleName, IBundler bundler) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.GetStyleBundleFilesAsync(String bundleName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperStyleService.GetBundleFilesAsync(String bundleName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List1 bundleItems, String bundleName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpBundleTagHelperService
2.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 w6YsFlvOHaFfPHLpKh2.CC4i64vWPayVGeedJmS.<>c__DisplayClas - Steps to reproduce the issue: migrate abp to 7.3 version and host the authserver in linux contianer
10 Answer(s)
-
0
Volo.Abp.AbpException: Could not find file '/libs/abp/core/abp.css'
Hi,
You can try
abp install-libs
to restore the NPM packges. -
0
this is in Auth server where asp.net core application hosting is achieved. In docker only asp.net and .net sdk we install not npm in docker file.
-
0
-
0
-
0
-
0
Hi,
You should restore packages while developing, they will be included when you publish your application using
dotnet publish
Everytime i should not check in libs and nodemodule folders. like for angular how we restore packages in docker there should be a way to achive this in authserver docker also. otherwise whats the use if package.json and checking in 18k files everytime
-
0
Hi,
You should restore packages while developing, they will be included when you publish your application using
dotnet publish
Everytime i should not check in libs and nodemodule folders. like for angular how we restore packages in docker there should be a way to achive this in authserver docker also. otherwise whats the use if package.json and checking in 18k files everytime also this is not the correct way of handling the lib files.
more over im getting below errors even after pushing libs and nodemodules to git repo. Request starting HTTP/2 GET https://xxxxx:44322/__bundles/moment.min.js.map; - - [07:38:12 INF] Request finished HTTP/2 GET https://xxxx:44322/__bundles/moment.min.js.map; - - - 302 0 - 8.1742ms [07:38:12 INF] Request starting HTTP/2 GET https://xxxxx:44322/Error?httpStatusCode=404 - - [07:38:12 INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Controllers.ErrorController.Index (Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared)' [07:38:12 INF] Route matched with {action = "Index", controller = "Error", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Index(Int32) on controller Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Controllers.ErrorController (Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared). [07:38:12 INF] Executing ViewResult, running view ~/Views/Error/404.cshtml. [07:38:12 INF] Executed ViewResult - view ~/Views/Error/404.cshtml executed in 41.5277ms.
-
0
Request starting HTTP/2 GET https://xxxxx:44322/__bundles/moment.min.js.map; - -
This may be browser behavior you can ignore it now.
-
0
-
0
hi
Please share full
logs.txt
Thanks.liming.ma@volosoft.com