Hi ABP Support,
Using abp get-source Volo.Abp.LeptonXTheme -v 5.4.0 fails to download the source code. However, running the same command without specifying the version downloads successfully.
Environment:
- ABP CLI version:
3.0.6 - ABP CLI path:
/Users/rex/.dotnet/tools/abp - Module:
Volo.Abp.LeptonXTheme - Requested source version:
5.4.0 - Output folder:
/Users/rex/Downloads/tmp
Exception message and full stack trace:
└─[$] abp get-source Volo.Abp.LeptonXTheme -v 5.4.0 [10:36:08
[10:37:07 INF] Downloading source code of Volo.Abp.LeptonXTheme (v5.4.0)
[10:37:07 INF] Output folder: /Users/rex/Downloads/tmp
[10:37:24 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)
┌─[rex@9f75d7da9134] - [~/Downloads/tmp] - [10737]
Steps to reproduce the issue:
- Open a terminal in an empty folder, for example
/Users/rex/Downloads/tmp. - Run:
abp get-source Volo.Abp.LeptonXTheme -v 5.4.0
- The download fails with
Volo.Abp.Studio.AbpStudioException. - Run the same command without the version:
abp get-source Volo.Abp.LeptonXTheme
- The source code downloads successfully.
Expected result:
abp get-source Volo.Abp.LeptonXTheme -v 5.4.0 should download the Volo.Abp.LeptonXTheme source code for version 5.4.0, or return a clear error message if that version is not available.
Actual result:
The version-specific download fails with a generic Volo.Abp.Studio.AbpStudioException, while the command without -v 5.4.0 works.
13 Answer(s)
-
0
Volo.Abp.LeptonXThemeis not the correct module name to download LeptonX theme source viaabp get-source. For LeptonX, the downloadable source package is the Pro module:
abp get-source Volo.Abp.LeptonXTheme.Pro -v 5.4.0(So
-v 5.4.0fails because there’s no downloadable source artifact forVolo.Abp.LeptonXThemewith that version; the CLI ends up throwing a genericAbpStudioException.)- Also make sure you’re using a compatible CLI for ABP 5.x. Your CLI
3.0.6is very old compared to ABP5.4.0. Update the ABP CLI, then retry:
dotnet tool update -g Volo.Abp.Cli abp --version abp get-source Volo.Abp.LeptonXTheme.Pro -v 5.4.0- If you previously tried multiple downloads and suspect a corrupted cached zip, clear the local ABP cache and retry (on macOS/Linux):
rm -rf ~/.abp abp get-source Volo.Abp.LeptonXTheme.Pro -v 5.4.0- Workaround: If it still fails after using the correct module name + updating CLI, download LeptonX source via ABP Suite (it can succeed even when the CLI flow fails).
Links (verified):
- https://abp.io/support/questions/4668
- https://abp.io/support/questions/10751
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
└─[$] abp get-source Volo.Abp.LeptonXTheme.Pro -v 5.4.0 [11:13:23] [11:13:26 INF] Downloading source code of Volo.Abp.LeptonXTheme.Pro (v5.4.0) [11:13:26 INF] Output folder: /Users/rex/Downloads/tmp No module was found with this name! Here is the list of available modules:
Volo.Abp.Account.Pro Volo.Abp.AuditLogging.Pro Volo.Abp.Gdpr Volo.Abp.Identity.Pro Volo.Abp.LanguageManagement Volo.Abp.LeptonTheme Volo.Abp.LeptonXTheme Volo.Abp.LeptonXLiteTheme Volo.Abp.OpenIddict.Pro
abp version volo.abp.studio.cli 3.0.6 Volo.Abp.Studio.Cli
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
You’re running ABP Studio CLI (
volo.abp.studio.cli 3.0.6), not the classicVolo.Abp.Cli. In this CLI,abp get-sourceonly supports the modules that appear in its own “available modules” list (the list you pasted). SinceVolo.Abp.LeptonXTheme.Prois not in that list, it cannot be downloaded by that CLI, and you’ll always get:No module was found with this name!
For your case (ABP 5.4.0 + LeptonX), use the module name that is available in your list:
abp get-source Volo.Abp.LeptonXTheme -v 5.4.0If that still throws the generic
Volo.Abp.Studio.AbpStudioExceptionwhen-v 5.4.0is specified, then it means the Studio backend doesn’t have a “5.4.0” source bundle for that module, even though “Latest” works (so versioned source is missing or not published for that exact version in the source feed).Definitive workaround (works even when CLI versioned download is missing): Download LeptonX source via ABP Suite (same entitlement, different flow). This is the officially suggested workaround for LeptonX source download issues.
Practical tip (from a confirmed support case): run
get-sourcein a clean empty folder (not inside an existing solution folder), because downloading into a project folder may break/explode files and can lead to errors in some cases.
References (verified):
- https://abp.io/support/questions/4668
- https://abp.io/support/questions/10751
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
- To download a specific LeptonX source version, you must use the module name that the Studio CLI actually exposes (from your own “available modules” list):
Volo.Abp.LeptonXTheme(there is noVolo.Abp.LeptonXTheme.Proentry in Studio CLI, so you can’t use it).
- Use a clean/empty folder (important)
mkdir -p ~/Downloads/leptonx-5.4.0-src cd ~/Downloads/leptonx-5.4.0-src- Re-login (ensures token/organization context is correct)
abp logout abp login <your-email>- Clear the Studio CLI cache (prevents reusing a broken/old cached zip)
rm -rf ~/.abp- Download the exact version
abp get-source Volo.Abp.LeptonXTheme -v 5.4.0- If it still fails only when
-v 5.4.0is specified, then the most likely cause is: the backend feed does not have the 5.4.0 source bundle published for that module, while “Latest” does. In that case, there is no client-side trick to force-download 5.4.0 via CLI; the correct way to obtain that exact version is to use ABP Suite/ABP Studio UI’s download source feature (it uses a different flow and is the recommended workaround in similar tickets).
(Verified refs)
- https://abp.io/support/questions/10751
- https://abp.io/docs/latest/cli
- https://abp.io/docs/latest/ui-themes/lepton-x/
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) - To download a specific LeptonX source version, you must use the module name that the Studio CLI actually exposes (from your own “available modules” list):
-
0
└─[$] abp get-source Volo.Abp.LeptonXTheme -v 5.4.0 [10:36:08 [10:37:07 INF] Downloading source code of Volo.Abp.LeptonXTheme (v5.4.0) [10:37:07 INF] Output folder: /Users/rex/Downloads/tmp [10:37:24 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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
You're right, this is on our side - the source package for that LeptonX theme version wasn't published, so the versioned download fails. We've confirmed it and will fix it soon.
We've refunded your ticket.
Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
This is fixed now - the missing source packages are published, so you can download the LeptonX theme source from ABP Studio/CLI again. Please give it another try.
Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
The same goes for Volo.Abp.LeptonXLiteTheme
abp get-source Volo.Abp.LeptonXLiteTheme --version 5.4.0 --output-folder /tmp/lite-check
[12:48:08 ERR] Downloading source code failed for: Volo.Abp.LeptonXLiteTheme 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)Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
The LeptonXLite theme source code packages have been published.
https://www.nuget.org/packages/Volo.Abp.LeptonXLiteTheme.SourceCode
Thanks.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)