ABP Framework version: 8.3.4
UI Type: MVC
Database System: EF Core (SQL Server)
Tiered (for MVC) or Auth Server Separated (for Angular): no
Exception message and full stack trace: [10:21:46 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli [10:21:46 INF] Downloading source code of Volo.Abp.LeptonXTheme (Latest) [10:21:46 INF] Output folder: x [10:21:47 ERR] Downloading source code failed for: Volo.Abp.LeptonXTheme Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown. at async Task Volo.Abp.Studio.Modules.Installing.SourceCodeDownloader.DownloadSourceCodeAsync(string moduleName, string targetFolder, string version, bool includeNightly) at async Task Volo.Abp.Studio.Cli.Commands.StudioGetSourceCommand.ExecuteAsync(CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync(CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunAsync(string[] args)
Steps to reproduce the issue:
- Install ABP studio (any version)
- dotnet tool install -g Volo.Abp.Studio.Cli
- log in
- abp get-source Volo.Abp.LeptonXTheme
Other info:
- abp get-source Volo.Abp.LeptonTheme (Lepton theme, not LeptonX) is working
- I had versions 0.9.9 and 0.9.10, maybe this is causing an issue?
- Maybe related: https://abp.io/support/questions/8326/Trying-to-download-LeptonXTheme
- I run ABP studio on Windows
10 Answer(s)
-
0
-
0
already tried that. I also tried to clear the nuget cache, no effect.
dotnet tool install -g Volo.Abp.Studio.Cli You can invoke the tool using the following command: abp Tool 'volo.abp.studio.cli' (version '0.9.11') was successfully installed. x>abp get-source Volo.Abp.LeptonXThemeabp get-source Volo.Abp.LeptonXTheme [12:24:28 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli [12:24:28 WRN] Volo.Abp.Studio.Extensions.StandardSolutionTemplates extension not found in the NuGet cache. Directory: x [12:24:28 INF] Volo.Abp.Studio.Extensions.StandardSolutionTemplates (v: 0.9.11) extension trying install from the NuGet
🕖 Checking extensions... 🧩 Extensions downloaded: Volo.Abp.Studio.Extensions.StandardSolutionTemplatesolutionTemplates (v: 0.9.11) package downlo🚲 The CLI is restarting to apply the changes with arguments: get-source Volo.Abp.LeptonXTheme
x>[12:24:52 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli [12:24:52 INF] Downloading source code of Volo.Abp.LeptonXTheme (Latest) [12:24:52 INF] Output folder: x [12:24:54 ERR] Downloading source code failed for: Volo.Abp.LeptonXTheme Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown. at async Task Volo.Abp.Studio.Modules.Installing.SourceCodeDownloader.DownloadSourceCodeAsync(string moduleName, string targetFolder, string version, bool includeNightly) at async Task Volo.Abp.Studio.Cli.Commands.StudioGetSourceCommand.ExecuteAsync(CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync(CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunAsync(string[] args)
-
0
Hi
Have you logged in to the CLI?
abp login-info
Check this https://abp.io/docs/latest/ui-themes/lepton-x#leptonx-theme-module
Thank you
-
0
yes, I am logged in. I also tried to logout and login, to be sure.
-
0
Hi,
you can try install dotnet 9 SDK and try again.
-
0
already tried that. and also: .NET 8 gives the same error.
>dotnet --version 9.0.100
-
0
-
0
For an upgrade comparison, I need versions 8.3.4 and 8.1.0.
My mail address is: merijngeurts@frontis.nl
Suggestion: Maybe it helps if the message of AbpStudioException gets printed or logged, in the future?
Thanks in advance,
-
0
Suggestion: Maybe it helps if the message of AbpStudioException gets printed or logged, in the future?
yes, we will improve the error message.
Email sent
-
0
It's because -confusingly- Volo.Abp.LeptonXTheme is versioned differently than other abp packages
- for abp 8.x.x it matches Volo.Abp.LeptonXTheme 3.x.x
- for abp 9.x.x it matches Volo.Abp.LeptonXTheme 4.x.x
so the correct command is:
abp get-source Volo.Abp.LeptonXTheme --version 3.3.4