Open Closed

Angular commercial libraries source code #5491


User avatar
0
alessio.gogna.fbx created

Hi, can you provide instructions about how to download the source code for @volo/abp.commercial.ng.ui and other libs not available using get-source?

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: > 7.x.x
  • UI type: Angular

5 Answer(s)
  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Hi,

    • You add any module to your project with source code please check add-package command
    • This is the example for theme-basic

    • If you want to download all source code backend & frontend check get-source command
    • You can also get with suite: https://docs.abp.io/en/commercial/latest/abp-suite/source-code

    Lastly you can read this topic: https://support.abp.io/QA/Questions/632/How-can-I-download-the-source-code-of-the-framework-Angular-packages-theme-and-pro-modules

  • User Avatar
    0
    alessio.gogna.fbx created

    Hi. Using abp get-source I downloaded all the source code from those modules (from abp list-modules --include-pro-modules): ` Open Source Application Modules

    Documents (Admin) (Volo.Docs.Admin) Tenant Management (Volo.TenantManagement) Audit Logging (Volo.AuditLogging) Setting Management (Volo.SettingManagement) Feature Management (Volo.FeatureManagement) Identity Server (Volo.IdentityServer) Permission Management (Volo.PermissionManagement) Identity (Volo.Identity) Users (Volo.Users) Background Jobs (Volo.BackgroundJobs) Account (Volo.Account) Lepton X Lite (Volo.Abp.LeptonXTheme.Lite) Docs (Volo.Docs) BLOB Storing Database Storage Provider (Volo.Abp.BlobStoring.Database) Basic Theme (Volo.BasicTheme) CMS Kit (Volo.CmsKit) Virtual File Explorer (Volo.VirtualFileExplorer) Blogging (Volo.Blogging) OpenIddict (Volo.OpenIddict)

    Commercial (Pro) Application Modules

    Lepton Theme (Volo.LeptonTheme) Identity (Volo.Identity.Pro) Forms (Volo.Forms) Twilio SMS (Volo.Abp.Sms.Twilio) Lepton X Pro (Volo.Abp.LeptonXTheme.Pro) Language Management (Volo.LanguageManagement) Payment (Volo.Payment) CMS Kit (Volo.CmsKit.Pro) Identity Server UI (Volo.Identityserver.Ui) OpenIddict UI (Volo.OpenIddict.Pro) Text Template Management (Volo.TextTemplateManagement) SaaS (Volo.Saas) Account (Volo.Account.Pro) Audit Logging (Volo.AuditLogging.Ui) GDPR (Volo.Gdpr) Chat (Volo.Chat) File Management (Volo.FileManagement) `

    But none contains the source code of @volo/abp.commercial.ng.ui angular package.

    Additionally, abp get-source Volo.Docs.Admin -o Volo.Docs.Admin -v 7.2.3 failed due to:

    ABP CLI 7.2.3 Downloading source code of Volo.Docs.Admin (v7.2.3) Output folder: C:\Dev\abp.sources\Volo.Docs.Admin Downloading module: Volo.Docs.Admin, version: 7.2.3 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: { Date: Wed, 02 Aug 2023 08:51:29 GMT Transfer-Encoding: chunked Connection: keep-alive Cache-Control: no-cache,no-store Pragma: no-cache Set-Cookie: .AspNetCore.Antiforgery.-6OvtTX3HwI=CfDJ8FwlyK6gBQtDks_tINvwLxMEs_aP40JHZqDiB2LOkQNO_cxHXWMXNqfFVTmm_xOtfnLFz_mVk_dqxwCRHsKkvN2I7y1hsifqSDubSFBYMdJDRhkPDrl8j4uRoBvc4E_fnrJAUl4NIUfoGiI298_xCk4; path=/; samesite=strict; httponly Set-Cookie: XSRF-TOKEN=CfDJ8FwlyK6gBQtDks_tINvwLxMV7BQtcXxjvWjRqn9tnb-reNNUFRxEvvGreC5f1kzSk9il9f4uXK8gdAhG7iz7BlXGNb9HWx9P2r2_XyhmjLY1X88wZKMjuEe647J3o3mMXGTpOBNAGrTyZ2UCcdkvHsEo5sczzdi4wKY7X1iE766nIqP0GpTJozQkFsuPDxzJiA; expires=Sat, 30 Jul 2033 08:51:29 GMT; path=/; secure; samesite=none Vary: Accept-Encoding Strict-Transport-Security: max-age=15724800; includeSubDomains X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block X-Frame-Options: SAMEORIGIN x-correlation-id: e86bb8f289cf4cc182af80360844b24d CF-Cache-Status: DYNAMIC Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=2FqvYWduhngpR1piVq%2BlK0xEEb57SrGjGc28ngICQph%2BexGwyUhMQb9Wu%2BcdjDAXSQuLWwhuTxkUleiYzQ2E4GBNxKomSWS2am%2BT38fkt0%2FX8jLcSwFinA%3D%3D"}],"group":"cf-nel","max_age":604800} NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800} Server: cloudflare CF-RAY: 7f05144b7947ce93-GVA Content-Type: text/html; charset=utf-8 Expires: -1 } '<' is an invalid start of a value. Path: $ | LineNumber: 1 | BytePositionInLine: 0. '<' is an invalid start of a value. Path: $ | LineNumber: 1 | BytePositionInLine: 0. System.Text.Json.JsonException: '<' is an invalid start of a value. Path: $ | LineNumber: 1 | BytePositionInLine: 0. ---> System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 1 | 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.JsonConverter1.ReadCore(Utf8JsonReader& reader, 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, JsonSerializerOptions options, ReadStack& state) at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable1 actualByteCount) at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 json, JsonTypeInfo 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 256 at Volo.Abp.Cli.ProjectBuilding.AbpIoSourceCodeStore.GetAsync(String name, String type, String version, String templateSource, Boolean includePreReleases) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\AbpIoSourceCodeStore.cs:line 122 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 39 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.Cli.CliService.RunInternalAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 169 at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 77

  • User Avatar
    0
    mahmut.gundogdu created

    If you want to add the angular UI of the package, you can use abp add-package @volo/abp.commercial.ng.ui --with-source-code on Angular folder.

  • User Avatar
    0
    alessio.gogna.fbx created

    Ok. So, if I correctly get it, for the time being, the only source code supported by abp get-source is modules. For specific packages like @volo/abp.commercial.ng.ui, the only option is to add packages with source. Is it correct?

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Ok. So, if I correctly get it, for the time being, the only source code supported by abp get-source is modules. For specific packages like @volo/abp.commercial.ng.ui, the only option is to add packages with source. Is it correct?

    Yes allesio that's correct

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19