abp
abp copied to clipboard
Cannot run Blazor Server project using LeptonX Lite theme on the preview version (6.0.0-rc.3)
Documentation
Please check the official documentation before asking questions: https://docs.abp.io
GitHub Issues
GitHub issues are for bug reports, feature requests and other discussions about the framework.
If you're creating a bug/problem report, please include followings:
- ABP Framework version: 6.0.0-rc.3
- User Interface: Blazor Server
- Database provider: EF Core/MS SQL Server
- npm version: 8.18.0
- ABP CLI version: 6.0.0-rc.3
- Exception message: AbpException: Could not find the bundle file '/libs/bootstrap/css/bootstrap.css' for the bundle 'Blazor.LeptonXLiteTheme.Global'!
- Steps needed to reproduce the problem:
- Rebuild the whole solution.
- Run
npm install
on ABP01.Blazor project. - Run
abp install-libs
on ABP01.Blazor project. - Run 3 projects: ABP01.AuthServer, ABP01.Blazor, and ABP01.HttpApi.Host using
dotnet run
command.
Are you getting that error while trying to login?
Can you try executing abp install-libs
command in your ABP01.AuthServer project too?
Yes, I did, the ABP01.AuthServer project worked, only ABP01.Blazor had that issue.
Can you try removing yarn.lock
file and make sure all abp packages are 6.0.0-rc.3
in package.json
(except LeptonXLite, it should be 1.0.0-rc.4
)
Then try running abp install-libs
command.
If there is a problem in package.json
in newly created projects let us know.
The package.json content after modified:
The result is the same.
Only the AuthServer worked.
Has this problem been solved?
修改后的 package.json 内容:
结果是相同的。
只有AuthServer工作。
![]()
Has this problem been solved?
@ILAOHE not yet.
@enisn
What should we do?
@huytnd I have solved this problem. You need to download and install the Yarn client, and then execute abp install libs
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.