Jakeuj's Notes master Help

ABP.IO Could not find the bundle file '/libs/abp/core/abp.css' {id="ABP-IO-Bundle-File-Not-Found"}

Abp開新專案發生例外解決方案

結論

使用管理者權限開啟 PowerShell 執行以下 Script

Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process npm install -g npm-windows-upgrade npm-windows-upgrade
  1. 以後使用 Abp Cli 新建專案就會正常 abp new {專案名稱}

  2. 或是在既有專案的 Web (Host) csproj 所在目錄重新執行安裝套件命令 abp install-libs

例外訊息

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

998fe814606042e8e84e3a0471ff0106

特徵

abp newabp install-libs 時出現 NPM is not installed 警告訊息

173512022 54ed085a a088 4a9f a44c 00ca9174b3bd

參照

NPM is not installed #3238 | Support Center | ABP Commercial

It warns NPM is not installed when run abp install-libs,but I have installed . · Issue #12995 · abpframework/abp (github.com)

Jakeuj

PS5

  • NPM

  • 回首頁

本文章從點部落遷移至 Writerside

13 October 2025