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