Open Closed

abp get-source Volo.Abp.LeptonXTheme -v 5.4.0 fails to download #10776


User avatar
0
rexhxiao created

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:

  1. Open a terminal in an empty folder, for example /Users/rex/Downloads/tmp.
  2. Run:
abp get-source Volo.Abp.LeptonXTheme -v 5.4.0
  1. The download fails with Volo.Abp.Studio.AbpStudioException.
  2. Run the same command without the version:
abp get-source Volo.Abp.LeptonXTheme
  1. 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.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

13 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • Volo.Abp.LeptonXTheme is not the correct module name to download LeptonX theme source via abp 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.0 fails because there’s no downloadable source artifact for Volo.Abp.LeptonXTheme with that version; the CLI ends up throwing a generic AbpStudioException.)

    • Also make sure you’re using a compatible CLI for ABP 5.x. Your CLI 3.0.6 is very old compared to ABP 5.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)
  • User Avatar
    0
    rexhxiao created

    └─[$] 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)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • You’re running ABP Studio CLI (volo.abp.studio.cli 3.0.6), not the classic Volo.Abp.Cli. In this CLI, abp get-source only supports the modules that appear in its own “available modules” list (the list you pasted). Since Volo.Abp.LeptonXTheme.Pro is 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.0
    

    If that still throws the generic Volo.Abp.Studio.AbpStudioException when -v 5.4.0 is 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-source in 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)
  • User Avatar
    0
    rexhxiao created

    How can I correctly obtain the specific version I want?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • 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 no Volo.Abp.LeptonXTheme.Pro entry in Studio CLI, so you can’t use it).
    1. Use a clean/empty folder (important)
    mkdir -p ~/Downloads/leptonx-5.4.0-src
    cd ~/Downloads/leptonx-5.4.0-src
    
    1. Re-login (ensures token/organization context is correct)
    abp logout
    abp login <your-email>
    
    1. Clear the Studio CLI cache (prevents reusing a broken/old cached zip)
    rm -rf ~/.abp
    
    1. Download the exact version
    abp get-source Volo.Abp.LeptonXTheme -v 5.4.0
    
    • If it still fails only when -v 5.4.0 is 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)
  • User Avatar
    0
    rexhxiao created

    └─[$] 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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    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)
  • User Avatar
    0
    rexhxiao created

    Hi,

    Thanks for the quick investigation and for the refund. I really appreciate your help. I'll wait for the fix.

    Have a great day!

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    : )

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    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)
  • User Avatar
    0
    rexhxiao created

    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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We will fix the Lite theme as well.

    Thanks.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    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)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.