We are currently unable to download the source dode for lepton x pro using the suite.
[19:17:47 ERR] Error occured while getting the source code for Volo.Abp.LeptonXTheme.Pro v4.2.2 - System.Text.Json.JsonException: '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan1 bytes) at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker) at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first) at System.Text.Json.Utf8JsonReader.ReadSingleSegment() at System.Text.Json.Utf8JsonReader.Read() at System.Text.Json.Serialization.JsonConverter
1.ReadCore(Utf8JsonReader& reader, T& value, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, T& value, JsonSerializerOptions options, ReadStack& state) at System.Text.Json.Serialization.Metadata.JsonTypeInfo
1.Deserialize(Utf8JsonReader& reader, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 utf8Json, JsonTypeInfo
1 jsonTypeInfo, Nullable1 actualByteCount) at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan
1 json, JsonTypeInfo`1 jsonTypeInfo)
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
at Volo.Abp.Json.SystemTextJson.AbpSystemTextJsonSerializer.Deserialize[T](String jsonString, Boolean camelCase) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Json.SystemTextJson\Volo\Abp\Json\SystemTextJson\AbpSystemTextJsonSerializer.cs:line 25
at Volo.Abp.Cli.ProjectBuilding.RemoteServiceExceptionHandler.GetAbpRemoteServiceErrorAsync(HttpResponseMessage responseMessage) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\RemoteServiceExceptionHandler.cs:line 52
at Volo.Abp.Cli.ProjectBuilding.RemoteServiceExceptionHandler.EnsureSuccessfulHttpResponseAsync(HttpResponseMessage responseMessage) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\RemoteServiceExceptionHandler.cs:line 38
at Volo.Abp.Cli.ProjectBuilding.AbpIoSourceCodeStore.DownloadSourceCodeContentAsync(SourceCodeDownloadInputDto input) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\AbpIoSourceCodeStore.cs:line 337
at Volo.Abp.Cli.ProjectBuilding.AbpIoSourceCodeStore.GetAsync(String name, String type, String version, String templateSource, Boolean includePreReleases, Boolean skipCache, Boolean trustUserVersion) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\AbpIoSourceCodeStore.cs:line 202
at Volo.Abp.Cli.ProjectBuilding.ModuleProjectBuilder.BuildAsync(ProjectBuildArgs args) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\ModuleProjectBuilder.cs:line 48
at Volo.Abp.Cli.Commands.Services.SourceCodeDownloadService.DownloadModuleAsync(String moduleName, String outputFolder, String version, String gitHubAbpLocalRepositoryPath, String gitHubVoloLocalRepositoryPath, AbpCommandLineOptions options) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\Services\SourceCodeDownloadService.cs:line 36
at Volo.Abp.Cli.Commands.GetSourceCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\GetSourceCommand.cs:line 59
at Volo.Abp.Suite.Controllers.AbpSuiteController.GetSourceAsync(GetSourceInput input)
Using abp get-source Volo.Abp.LeptonXTheme --version 9.2.2
also does not work for us.
[19:16: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 [19:16:17 INF] Downloading source code of Volo.Abp.LeptonXTheme (v9.2.2) [19:16:17 INF] Output folder: C:\repos\tmp\abp922\lepton [19:16: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)
We really need the code asap since we have a customized account layout based on lepton x layout in a production site which needs to be upated. In case you can email me to nico@chrobyte.de
Kind regards Nico
12 Answer(s)
-
0
This error typically occurs when there is a problem with authentication or license validation while downloading ABP Commercial module source code (such as LeptonX Pro) using ABP Suite or the CLI. The error message "'<' is an invalid start of a value" usually means that an HTML error page (often a 403 Forbidden or similar) was returned instead of the expected JSON, which is often due to a failed authentication or expired/invalid license.
To resolve this issue, follow these steps:
- Run abp logout in your terminal to clear any cached credentials.
- Run abp login and authenticate again with your valid ABP Commercial credentials.
- Retry the source code download using Suite or the CLI.
If you are still unable to download the source code after re-authenticating, ensure that:
- Your ABP Commercial license is active and valid for the LeptonX Pro module.
- You are using the correct module name and version (matching your license and project version).
- There are no network issues or firewalls blocking access to abp.io.
If the problem persists after these steps, please contact Volosoft support directly with your license details for further assistance.
Sources:
- https://abp.io/docs/latest/ui-themes/lepton-x/mvc
- https://abp.io/docs/latest/ui-themes/lepton/
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
That ai answer really dosent help....
-
0
Quick addition: Downloading pro module for account works fine using suite.
-
0
hi
Can you try to use
abp get-source Volo.Abp.LeptonXTheme --version 4.2.2
command to download again?Thanks.
-
0
I cant download it either, have logged out, logged in
I have tried all of the following abp get-source Volo.Abp.LeptonTheme --version 4.2.2 abp get-source Volo.Abp.LeptonXTheme --version 4.2.2 abp get-source Volo.Abp.LeptonXTheme.Pro --version 4.2.2
In the suite I get the same error as above '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
[13:50:52 INF] Downloading source code of Volo.Abp.LeptonXTheme (v4.2.2) [13:50:52 INF] Output folder: C:\temp [13:50:53 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 tony.gayte
Can you try to use
abp get-source Volo.Abp.LeptonXTheme
?Have you tried downloading the source code from suite?
-
0
Can you try to use abp get-source Volo.Abp.LeptonXTheme?
same error. It's downloaded any other versions, tried 4.3.0-rc.1 and 4.0.0-4.2.0 Any other modules downloaded normally. But LeptonXTheme pro and lite v4.2.2 return this error
-
0
you have 2 organizations. the first one is "AKA" and it's expired. probably that's why you cannot get the new source-code. login again via ABP CLI
-
0
This issue is not related to Login info. the problem is module name. ABP Suite (v9.1.0) request old name Volo.Abp.LeptonXTheme.Pro
below commands works normally:
abp get-source Volo.Abp.LeptonXTheme
abp get-source Volo.Abp.LeptonXLiteTheme
-
0
Thanks @adhamawadhi 👍
-
0
[maliming] said: hi tony.gayte
Can you try to use
abp get-source Volo.Abp.LeptonXTheme
?Have you tried downloading the source code from suite?
Yes I have already tried that (I listed the commands I used). But no joy
-
0
The source code download function for the LeptonX theme has been fixed. Please try again, It works for both SUITE and CLI.
Thanks.