It's working now , I applied all the the advices you guys provided also add to the project one bundle contributor which is decorated with
[DependsOn(typeof(BootstrapScriptContributor))] [DependsOn(typeof(DatatablesNetBs5ScriptContributor))] [DependsOn(typeof(DatatablesNetScriptContributor))] [DependsOn(typeof(LeptonXGlobalScriptContributor))]
Thanks
hi
this error start when it is published to azure dev environment.
Ensure your
wwwroot/libs
folder is up to date in Azure.It has to be the same as your local. You can check it.
Thanks
There is no wwwroot/libs
in my released project. I assume it is embedded within some project dll.
{ "version": "1.0.0", "name": "my-app", "private": true, "dependencies": { "@volo/abp.aspnetcore.mvc.ui.theme.leptonx": "~4.0.5", "@abp/aspnetcore.mvc.ui.theme.shared": "9.0.4", "@volo/cms-kit-pro.admin": "~9.0.4", "@abp/signalr": "~9.0.4", "@volo/account": "~9.0.4", "@volo/audit-logging": "~9.0.4", "@volo/identity": "~9.0.4", "@volo/language-management": "~9.0.4", "@abp/datatables.net": "~9.0.4"
} }
Hi berkansasmaz, thanks for the response. I did that and still happening, in the log file I have this error :
2025-02-12 13:09:16.863 -05:00 [INF] Bundling __bundles/LeptonX.Global.BAAE664F6DFC55537E6DAB94FBB1F4E1.js (49 files)
2025-02-12 13:09:16.870 -05:00 [INF] > Minified /libs/abp/core/abp.js (25271 bytes -> 10313 bytes)
2025-02-12 13:09:16.987 -05:00 [INF] > Minified /libs/jquery/jquery.js (296030 bytes -> 87931 bytes)
2025-02-12 13:09:16.991 -05:00 [INF] > Minified /libs/abp/jquery/abp.jquery.js (13489 bytes -> 5683 bytes)
2025-02-12 13:09:17.007 -05:00 [INF] > Minified /libs/jquery-validation/jquery.validate.js (54237 bytes -> 25346 bytes)
2025-02-12 13:09:17.011 -05:00 [INF] > Minified /libs/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js (19820 bytes -> 5883 bytes)
2025-02-12 13:09:17.016 -05:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Controllers.ErrorController.Index (Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared) in 172.1224ms
2025-02-12 13:09:17.017 -05:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Controllers.ErrorController.Index (Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared)'
2025-02-12 13:09:17.017 -05:00 [ERR] An exception was thrown attempting to execute the error handler.
Volo.Abp.AbpException: Could not find file '/libs/datatables.net/js/jquery.dataTables.js'
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.Bundle(IBundlerContext context)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.<>c__DisplayClass17_0.<AddToBundleCache>b__0()
at System.Collections.Generic.AbpDictionaryExtensions.<>c__DisplayClass7_02.<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.AddToBundleCache(String bundleName, IBundler bundler, List1 bundleFiles) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.GetBundleFilesAsync(BundleConfigurationCollection bundles, String bundleName, IBundler bundler) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.GetScriptBundleFilesAsync(String bundleName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperScriptService.GetBundleFilesAsync(String bundleName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List
1 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.
Same issue here
can you please elaborate, a little bit more, please? We aren't using any abp packages, only Volo.Abp and leptonX 2.3.2
hi
ABP Framework version?
v 5.3.0