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(三)数据迁移

下一篇:

相关推荐
van久13 小时前
Day15:EF Core 入门 + CodeFirst(就业核心版)
.netcore
叫我黎大侠13 小时前
.NET 实战:调用千问视觉模型实现 OCR(车票识别完整教程)
阿里云·ai·c#·ocr·asp.net·.net·.netcore
van久14 小时前
Day15-4:【日志】中间件和过滤器 的对比选择
.netcore
van久1 天前
Day14: 搭建企业标准的DDD 简洁版四层架构
架构·.netcore
van久2 天前
ADay15-1: 安装 EF Core 包 到 对应DDD(领域驱动设计)四层架构‌
.netcore
时光追逐者3 天前
C#/.NET/.NET Core技术前沿周刊 | 第 69 期(2026年4.01-4.12)
c#·.net·.netcore
willhuo4 天前
基于Playwright的抖音网页自动化浏览器项目使用指南
爬虫·c#·.netcore·webview
csdn_aspnet5 天前
在 .NET Core 8 中实现 CORS
.netcore·跨域·cors·.net8
csdn_aspnet7 天前
在 ASP.NET Core (WebAPI) 中启用 CORS
后端·asp.net·.netcore
观无7 天前
Windows 本地电脑搭建一个私有的、类似 Gitee 的 Git 服务
gitee·jenkins·.netcore