Abp vNext(四)运行项目

运行环境

Win11

vs2022

Abp vNext 7.0.0

初始化数据库成功后,用swagger打开是正常的,但是浏览站点异常

An unhandled exception occurred while processing the request.

AbpException: Could not find the bundle file '/libs/abp/core/abp.css' for the bundle 'LeptonXLite.Global'!

Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List<BundleTagHelperItem> bundleItems, string bundleName)

异常截图

发现wwwroot/libs文件夹是空的,并且npm引用项也有问题

右键wwwroot文件夹→在终端中打开,输入一下命令

cs 复制代码
abp install-libs

会重新进行安装libs

安装完成后编译,重新运行,即可正常访问。

上一篇:Abp vNext(三)数据迁移

下一篇:

相关推荐
淡海水2 小时前
07-01-源码-.NET Core GC总览与架构
unity·架构·c#·.netcore·gc
csdn_aspnet5 小时前
在 .NET Core 中使用 Redis
redis·.netcore
1-1=01 天前
.NET Core 输出日志
c#·.net·.netcore
1-1=04 天前
.NET 实现后台任务
c#·.net·.netcore·quartz·hangfire
FuckPatience4 天前
Windows 窗体设计器不支持项目“xxx,因为它面向不受支持的.NET Core 3.1。建议更新到受支持的.NET 版本。
.netcore
csdn_aspnet6 天前
C# .NetCore Swagger ISchemaFilter 处理枚举、特殊类型
c#·.netcore·swagger
code_long6 天前
.net core 连接打印机 使用zpl指令打印机,并且位图本地渲染zpl指令
c#·.netcore·位图·打印机·模板编辑·模板预览
csdn_aspnet6 天前
C# .NetCore Swagger ISchemaFilter Long 转 String 防精度丢失
c#·.netcore·swagger
csdn_aspnet7 天前
C# .NetCore Swagger ISchemaFilter 注入示例值、描述
c#·.netcore·swagger
宝桥南山9 天前
.NET 11 - 尝试一下Minimal API中的异步验证新特性
microsoft·微软·c#·asp.net·.net·.netcore