Hi, As described in this issue : https://abp.io/support/questions/7811/Commercial-source-code-to-angular-package I am trying to download the source code of the LeptonXTheme for angular.
I tried several commands :
PS C:\AbpModules\LeptonXTheme.Pro> abp get-source Volo.Abp.LeptonXTheme.Pro --version 4.2.2
[11:34:50 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
[11:34:50 INF] Downloading source code of Volo.Abp.LeptonXTheme.Pro (v4.2.2)
[11:34:50 INF] Output folder: C:\AbpModules\LeptonXTheme.Pro
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
> Volo.Abp.Sms.Twilio
> Volo.Abp.TextTemplateManagement
> Volo.Chat
> Volo.CmsKit.Pro
> Volo.FileManagement
> Volo.Forms
> Volo.Payment
> Volo.Saas
> Volo.Abp.Account
> Volo.Abp.BackgroundJobs
> Volo.Abp.BasicTheme
> Volo.Abp.BlobStoring.Database
> Volo.Abp.FeatureManagement
> Volo.Abp.Identity
> Volo.Abp.IdentityServer
> Volo.Abp.OpenIddict
> Volo.Abp.PermissionManagement
> Volo.Abp.SettingManagement
> Volo.Abp.TenantManagement
> Volo.Abp.Users
> Volo.Abp.VirtualFileExplorer
> Volo.Blogging
> Volo.ClientSimulation
> Volo.CmsKit
> Volo.Docs
Second command :
PS C:\AbpModules\LeptonXTheme.Pro> abp get-source Volo.Abp.LeptonXTheme.Pro --version 4.2.2 --old
[11:36:36 INF] ABP CLI 9.2.1-studio
[11:36:36 INF] Downloading source code of Volo.Abp.LeptonXTheme.Pro (v4.2.2)
[11:36:36 INF] Output folder: C:\AbpModules\LeptonXTheme.Pro
[11:36:38 INF] Downloading module: Volo.Abp.LeptonXTheme.Pro, version: 4.2.2
[11:36:38 INF] Error occured while downloading source-code from https://abp.io/api/download/module/ : StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
[11:36:38 INF] {
[11:36:38 INF] Date: Sun, 20 Jul 2025 09:36:37 GMT
[11:36:38 INF] Transfer-Encoding: chunked
[11:36:38 INF] Connection: keep-alive
[11:36:38 INF] CF-RAY: 962179a62d7903a9-ZRH
[11:36:38 INF] Cache-Control: no-cache,no-store
[11:36:38 INF] Pragma: no-cache
[11:36:38 INF] Set-Cookie: .AspNetCore.Antiforgery.-6OvtTX3HwI=CfDJ8PlenFSKRjBMqI8D3s-4E_Z3XDeP7QFnFsJVckFPGYh5ZPetKE-alfLKVWCarl06ulGbw_Qo8R5lkxSH40gdhlRmeEZwZu5mQVzZz9usFPvO-ePvaxYqEKxPQ2d8WOI-C3mftK50LsP5ogbAOVcgAbA; path=/; samesite=strict; httponly
[11:36:38 INF] Set-Cookie: XSRF-TOKEN=CfDJ8PlenFSKRjBMqI8D3s-4E_ad9Wn1tvZVHoCMW9zprkoEsARsfDUNEemBWquie5WGRRCv-9BfiXjJIIC65FOzV7d2i4SmuW99B_n79yyFNG7hylRaQCJ7aTUH2NW-n3R1TFMdA4jNS6LYtS58BKtzSwF8FFBthI6aaMEWjzRc19mIKZ7euoteZSeu5A3qQpEMcw; expires=Mon, 20 Jul 2026 09:36:36 GMT; path=/; secure; samesite=none
[11:36:38 INF] Vary: Accept-Encoding
[11:36:38 INF] Strict-Transport-Security: max-age=31536000; includeSubDomains
[11:36:38 INF] X-Content-Type-Options: nosniff
[11:36:38 INF] X-XSS-Protection: 1; mode=block
[11:36:38 INF] X-Frame-Options: SAMEORIGIN
[11:36:38 INF] x-correlation-id: 07a86bc809e443a38fe38b3a37f247c3
[11:36:38 INF] cf-cache-status: DYNAMIC
[11:36:38 INF] Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=eJdTiq2bZp0%2Bf8OiD%2BmdehDSxRN37w0lKSQ056ZOswKGToCNqD4thz4%2BVMeTPR2B5QHicBCQKXwxfaQNm%2F6jPyH7ZwOgxwRqcnyLoydLl2ojHSzP%2BfyQcA%3D%3D"}],"group":"cf-nel","max_age":604800}
[11:36:38 INF] NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
[11:36:38 INF] Server: cloudflare
[11:36:38 INF] Server-Timing: cfL4;desc="?proto=TCP&rtt=14295&min_rtt=13311&rtt_var=2481&sent=37&recv=15&lost=0&retrans=0&sent_bytes=41485&recv_bytes=6131&delivery_rate=1728961&cwnd=251&unsent_bytes=0&cid=a897e4080e2b6821&ts=1678&x=0"
[11:36:38 INF] Content-Type: text/html; charset=utf-8
[11:36:38 INF] Expires: -1
[11:36:38 INF] }
[11:36:38 INF] '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
[11:36:38 INF] '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
[11:36:38 INF] System.Text.Json.JsonException: '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
[11:36:38 INF] ---> System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
[11:36:38 INF] at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
[11:36:38 INF] at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
[11:36:38 INF] at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
[11:36:38 INF] at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
[11:36:38 INF] at System.Text.Json.Utf8JsonReader.Read()
[11:36:38 INF] at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, T& value, JsonSerializerOptions options, ReadStack& state)
[11:36:38 INF] --- End of inner exception stack trace ---
...
Third command :
PS C:\AbpModules\LeptonXTheme> abp get-source Volo.Abp.LeptonXTheme --version 4.2.2
[11:39:17 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
[11:39:17 INF] Downloading source code of Volo.Abp.LeptonXTheme (v4.2.2)
[11:39:17 INF] Output folder: C:\AbpModules\LeptonXTheme
[11:39:22 INF] 'Volo.Abp.LeptonXTheme' has been successfully downloaded to 'C:\AbpModules\LeptonXTheme.Pro'
This command works. But it only downloads the "volo-lepton-x" package instead of ["lepton-x", "lepton-x-abp-core", "lepton-x-core", "volo-lepton-x"] packages as shown in the related issue: https://abp.io/support/questions/7811/Commercial-source-code-to-angular-package And I don't know if Volo.Abp.LeptonXTheme is the same thing than Volo.Abp.LeptonXTheme.Pro ?
I tried to add package directly in projects with these commands :
abp add-package @volo/abp.ng.lepton-x.core --with-source-code --old
abp add-package @volo/ngx-lepton-x.core --with-source-code --old
abp add-package @volosoft/abp.ng.theme.lepton-x --with-source-code
But they give closely the same error as the 2nd command above.
FYI : I successfully add these packages :
abp add-package @abp/ng.theme.shared --with-source-code --old
abp add-package @volo/abp.commercial.ng.ui --with-source-code --old
abp add-package @volo/abp.ng.file-management --with-source-code --old
ABP Solution versions :
"versions": {
"LeptonX": "4.2.2",
"AbpFramework": "9.2.2",
"AbpCommercial": "9.2.2",
"AbpStudio": "1.1.0",
"TargetDotnetFramework": "net9.0"
}
Solution Configuration:
- **Template**: app
- **Created ABP Studio Version**: 1.1.0
- **Current ABP Studio Version**: 1.1.0
- **Tiered**: Yes
- **Multi-Tenancy**: No
- **UI Framework**: angular
- **Theme**: leptonx
- **Theme Style**: system
- **Theme Menu Placement**: side
- **Run Install Libs**: Yes
- **Progressive Web App**: No
- **Run Progressive Web App Support**: No
- **Database Provider**: ef
- **Database Management System**: sqlserver
- **Separate Tenant Schema**: No
- **Create Initial Migration**: Yes
- **Run Db Migrator**: Yes
- **Mobile Framework**: none
- **Public Website**: No
- **Social Login**: Yes
- **Include Tests**: Yes
- **Kubernetes Configuration**: Yes
- **Distributed Event Bus**: rabbitmq
- **Use Local References**: No
- **Optional Modules**:
* GDPR
* FileManagement
* TextTemplateManagement
* LanguageManagement
* AuditLogging
* Chat
* OpenIddictAdmin
- **Selected Languages**:
English, Français, Deutsch (Deutschland), Italiano
- **Default Language**: English
- **Create Command**: abp new Prestaflex.Prestige -t app --tiered --ui-framework angular --database-provider ef --database-management-system sqlserver --theme leptonx --without-cms-kit --sample-crud-page --dont-run-bundling --no-multi-tenancy -no-saas -chat -file-management
11 Answer(s)
-
0
To download the source code for the LeptonX theme for Angular, you should use the following command, as documented in the official ABP documentation:
abp get-source Volo.Abp.LeptonXTheme
- The module name is Volo.Abp.LeptonXTheme (not Volo.Abp.LeptonXTheme.Pro).
- The "Pro" variant is not listed as a downloadable module; only Volo.Abp.LeptonXTheme is available.
- The command you used that succeeded (
abp get-source Volo.Abp.LeptonXTheme --version 4.2.2
) is correct and will download the available source code for the LeptonX theme.
Regarding the difference:
- Volo.Abp.LeptonXTheme is the official package for the LeptonX theme. There is no separate "Pro" source code module for Angular; all commercial features are included in the main LeptonXTheme package for ABP Commercial customers.
- The packages you see in the downloaded folder (such as "volo-lepton-x") are the correct Angular packages for the theme.
If you need the source code for additional packages (like "lepton-x", "lepton-x-abp-core", "lepton-x-core"), these are included as part of the LeptonXTheme source code structure. There is no separate command to download them individually.
If you encounter errors with
abp add-package ... --with-source-code
, it is likely because the source code for those packages is not distributed separately, but as part of the main LeptonXTheme source.For more details, see the official documentation:
Your folder structure matches the expected layout for the LeptonXTheme Angular source code.
If you need to build or understand the structure, refer to the documentation inside the downloaded package or the official docs.
Sources:
- https://abp.io/docs/latest/ui-themes/lepton-x/
- https://abp.io/support/questions/7811/Commercial-source-code-to-angular-package
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.
-
0
In the volo-lepton-x package downloaded with get-source, there are very few components and none of the ones I want to modify are there.
I think that with my Business licence, I should be able to download most of the components, right?
-
0
Use this CLI command:
abp get-source Volo.Abp.LeptonXTheme.Pro
-
0
Hi alper, Thanks for the suggestion, but I already tried it.
PS C:\AbpModules\LeptonXTheme.Pro> abp get-source Volo.Abp.LeptonXTheme.Pro [14:40:49 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 [14:40:49 INF] Downloading source code of Volo.Abp.LeptonXTheme.Pro (Latest) [14:40:49 INF] Output folder: C:\AbpModules\LeptonXTheme.Pro 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 > Volo.Abp.Sms.Twilio > Volo.Abp.TextTemplateManagement > Volo.Chat > Volo.CmsKit.Pro > Volo.FileManagement > Volo.Forms > Volo.Payment > Volo.Saas > Volo.Abp.Account > Volo.Abp.BackgroundJobs > Volo.Abp.BasicTheme > Volo.Abp.BlobStoring.Database > Volo.Abp.FeatureManagement > Volo.Abp.Identity > Volo.Abp.IdentityServer > Volo.Abp.OpenIddict > Volo.Abp.PermissionManagement > Volo.Abp.SettingManagement > Volo.Abp.TenantManagement > Volo.Abp.Users > Volo.Abp.VirtualFileExplorer > Volo.Blogging > Volo.ClientSimulation > Volo.CmsKit > Volo.Docs
-
0
ohh sorry, in your first message I just saw you tried the free version. @Engincan, why can we not get the source code of LeptonX PRO with that command?
-
0
[alper] said: ohh sorry, in your first message I just saw you tried the free version. @Engincan, why can we not get the source code of LeptonX PRO with that command?
Actually, we can get the source code of the LeptonX Theme Module with the command:
abp get-source Volo.Abp.LeptonXTheme
(.Pro was redundant at the end)@Bertrand, please try with the command (
abp get-source Volo.Abp.LeptonXTheme
) and then the source-code will be downloaded: -
0
[EngincanV] said:
[alper] said: ohh sorry, in your first message I just saw you tried the free version. @Engincan, why can we not get the source code of LeptonX PRO with that command?
Actually, we can get the source code of the LeptonX Theme Module with the command:
abp get-source Volo.Abp.LeptonXTheme
(.Pro was redundant at the end)@Bertrand, please try with the command (
abp get-source Volo.Abp.LeptonXTheme
) and then the source-code will be downloaded:Hi EngincanV Hi alper,
Thank you for your answers. But as I said in the original post, I already tried to download the Volo.Abp.LeptonXtheme module. This source code only have a few files that are not the ones I am looking for.
I need to modify the main sidemenu (left) and the settings side menu (right) and the mobile navbar and the modal menu that is opened by it. This package is not providing these components.
As @masum.ulu said in his post https://abp.io/support/questions/7811/Commercial-source-code-to-angular-package. We should be able to download 4 angular packages : "lepton-x", "lepton-x-abp-core", "lepton-x-core", "volo-lepton-x".
With this command we only have the "volo-lepton-x" one.
-
0
[Bertrand] said:
[EngincanV] said:
[alper] said: ohh sorry, in your first message I just saw you tried the free version. @Engincan, why can we not get the source code of LeptonX PRO with that command?
Actually, we can get the source code of the LeptonX Theme Module with the command:
abp get-source Volo.Abp.LeptonXTheme
(.Pro was redundant at the end)@Bertrand, please try with the command (
abp get-source Volo.Abp.LeptonXTheme
) and then the source-code will be downloaded:Hi EngincanV Hi alper,
Thank you for your answers. But as I said in the original post, I already tried to download the Volo.Abp.LeptonXtheme module. This source code only have a few files that are not the ones I am looking for.
I need to modify the main sidemenu (left) and the settings side menu (right) and the mobile navbar and the modal menu that is opened by it. This package is not providing these components.
As @masum.ulu said in his post https://abp.io/support/questions/7811/Commercial-source-code-to-angular-package. We should be able to download 4 angular packages : "lepton-x", "lepton-x-abp-core", "lepton-x-core", "volo-lepton-x".
With this command we only have the "volo-lepton-x" one.
Yes, with the command
abp get-source Volo.Abp.LeptonXTheme
you only getvolo-lepton-x
. If you need other packages, you need to use theabp add-package
command for packages, as you mentioned, and you don't need to pass the--old
flag, because 4.2.2 is the latest stable one yet:abp add-package @volo/abp.ng.lepton-x.core --with-source-code abp add-package @volo/ngx-lepton-x.core --with-source-code abp add-package @volosoft/abp.ng.theme.lepton-x --with-source-code
So, your first approach was right but it seems there is a problem in v4.2.2 for these packages, when I tried them, it gave the same error as you got. But, if you pass the version as an earlier version, such as
v4.2.1
, then it installs.I've created an issue just before and we will fix the problem in v4.2.2. I'll let you know when it's fixed, but in the meantime, if it's important for you, then you may go with v4.2.1.
Regards.
-
0
Ok thanks. Could you provide me the changelog from 4.2.1 to 4.2.2 please ? Just to check if I will have troubles in using the 4.2.1 instead of 4.2.2.
-
0
[Bertrand] said: Ok thanks. Could you provide me the changelog from 4.2.1 to 4.2.2 please ? Just to check if I will have troubles in using the 4.2.1 instead of 4.2.2.
Hi, quick update, we've fixed the problem in v4.2.2 just now, so you can get the source code on the latest version.
-
0
Thanks ! It's working.
Fyi,
abp get-source Volo.Abp.LeptonXTheme.Pro --version 4.2.2 --old
is working too now.