abp icon indicating copy to clipboard operation
abp copied to clipboard

Cannot run Blazor Server project using LeptonX Lite theme on the preview version (6.0.0-rc.3)

Open huytnd opened this issue 2 years ago • 8 comments

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:
  1. Rebuild the whole solution.
  2. Run npm install on ABP01.Blazor project.
  3. Run abp install-libs on ABP01.Blazor project.
  4. Run 3 projects: ABP01.AuthServer, ABP01.Blazor, and ABP01.HttpApi.Host using dotnet run command.

image image

huytnd avatar Aug 31 '22 08:08 huytnd

Are you getting that error while trying to login? Can you try executing abp install-libs command in your ABP01.AuthServer project too?

enisn avatar Aug 31 '22 08:08 enisn

Yes, I did, the ABP01.AuthServer project worked, only ABP01.Blazor had that issue.

huytnd avatar Aug 31 '22 08:08 huytnd

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.

enisn avatar Aug 31 '22 08:08 enisn

The package.json content after modified: image The result is the same. image Only the AuthServer worked. image image

huytnd avatar Aug 31 '22 09:08 huytnd

Has this problem been solved?

修改后的 package.json 内容:image结果是相同的。 image只有AuthServer工作。 图像 图像

Has this problem been solved?

ILAOHE avatar Sep 06 '22 02:09 ILAOHE

@ILAOHE not yet.

huytnd avatar Sep 06 '22 02:09 huytnd

@enisn
What should we do?

ILAOHE avatar Sep 06 '22 02:09 ILAOHE

@huytnd I have solved this problem. You need to download and install the Yarn client, and then execute abp install libs

ILAOHE avatar Sep 06 '22 07:09 ILAOHE

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.

stale[bot] avatar Nov 12 '22 05:11 stale[bot]