Activities of "jfistelmann"

Answer

You're right. there must be some issue on my side here. does the cli provide a parameter vor verbose logging or something so I can check what the content of the exception is?

.lpx-header-bottom { overflow: inherit !important; }

works like a champ. Thank you!

sorry for the delay - we have parentName set.

abp login-info
[16:23:14 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
[16:23:14 INF]
Login info:
Name: Jack
Surname: XXXXXXXXXXXXXX
Username: jfXXXXXXXXXXXXX
Email Address: jack@XXXXX.de
Organization: Chrobyte

Hey,

I'm trying to create a script to automatically download all modules - but for some modules we are just receiving errors :S

param (
    [Parameter(Mandatory=$true)][string]$abpVersion,
    [Parameter(Mandatory=$true)][string]$leptonXVersion
 )

 function downloadModule($name, $version) {
    New-Item -ItemType Directory -Force -Path $name
    abp get-source $name --version $version -o ./$name
}

$modules = abp list-modules

foreach ($module in $modules) {

    if (-Not($module -Match "> ")) {
        continue;
    }

    $moduleName = $module -replace "> ", "";
    Write-Host "Downloading $moduleName..."

    if ($moduleName -Match "LeptonX") {
        downloadModule $moduleName $leptonXVersion
    }
    else {
        downloadModule $moduleName $abpVersion
    }
}

log (reduced):

Directory: C:\repos\abp

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----          27.02.2025    17:15                Volo.Abp.Account.Pro
[17:22:37] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[17:22:37] Downloading source code of Volo.Abp.Account.Pro (v9.0.5)
[17:22:37] Output folder: C:\repos\abp\Volo.Abp.Account.Pro
[17:22:44 ERR] Downloading source code failed for: Volo.Abp.Account.Pro
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)
d----          27.02.2025    17:15                Volo.Abp.AuditLogging.Pro
[17:22:44] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[17:22:44] Downloading source code of Volo.Abp.AuditLogging.Pro (v9.0.5)
[17:22:44] Output folder: C:\repos\abp\Volo.Abp.AuditLogging.Pro
[17:22:51 ERR] Downloading source code failed for: Volo.Abp.AuditLogging.Pro
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)
d----          27.02.2025    17:15                Volo.Abp.Gdpr
[17:22:52] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[17:22:52] Downloading source code of Volo.Abp.Gdpr (v9.0.5)
[17:22:52] Output folder: C:\repos\abp\Volo.Abp.Gdpr
[17:22:58 ERR] Downloading source code failed for: Volo.Abp.Gdpr
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)
d----          27.02.2025    17:15                Volo.Abp.Identity.Pro
[17:22:59] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli

-----

d----          27.02.2025    17:24                Volo.Abp.Account
[17:24:18] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[17:24:18] Downloading source code of Volo.Abp.Account (v9.0.5)
[17:24:18] Output folder: C:\repos\abp\Volo.Abp.Account
[17:24:19] Volo.Abp.Account.SourceCode (v: 9.0.5) package downloaded from https://api.nuget.org/v3/index.json and saved to (C:\Users\JackFistelmann\.nuget\packages\)
[17:24:19] 'Volo.Abp.Account' has been successfully downloaded to 'C:\repos\abp\Volo.Abp.Account'
d----          27.02.2025    17:24                Volo.Abp.BackgroundJobs
[17:24:20] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[17:24:20] Downloading source code of Volo.Abp.BackgroundJobs (v9.0.5)
[17:24:20] Output folder: C:\repos\abp\Volo.Abp.BackgroundJobs
[17:24:21] Volo.Abp.BackgroundJobs.SourceCode (v: 9.0.5) package downloaded from https://api.nuget.org/v3/index.json and saved to (C:\Users\JackFistelmann\.nuget\packages\)
[17:24:21] 'Volo.Abp.BackgroundJobs' has been successfully downloaded to 'C:\repos\abp\Volo.Abp.BackgroundJobs'
d----          27.02.2025    17:24                Volo.Abp.BasicTheme

Hi,

I apologize if I misunderstood your case, can you please elaborate in detail on what you expect?

regards,

I thought I did that in my question. Can you please tell me which part is unclear, so I can explain it better?

thanks for your efforts

Hi,

You may use command to install abp cli, mention your version

dotnet tool install -g volo.abp.cli --version 8.2.2 

thanks

how does that correspond to the issue?

Hello :) We are experiencing an issue using abp bundle on the new cli.

  • ABP Framework version: v8.2.2
  • UI Type: Blazor WASM

first I updated the cli - or better - replaced it by the new thing:

 repos  dotnet tool install -g Volo.Abp.Studio.Cli
Tool 'volo.abp.studio.cli' failed to update due to the following:
Failed to create shell shim for tool 'volo.abp.studio.cli': Command 'abp' conflicts with an existing command from another tool.
Tool 'volo.abp.studio.cli' failed to install.
 repos  ^C
 repos  dotnet tool uninstall -g Volo.Abp.Cli
Tool 'volo.abp.cli' (version '8.2.0') was successfully uninstalled.
 repos  dotnet tool install -g Volo.Abp.Studio.Cli
You can invoke the tool using the following command: abp
Tool 'volo.abp.studio.cli' (version '0.7.8') was successfully installed.
 repos  abp suite update
[12:43:55 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
📌 ABP CLI 0.7.8 (Beta)
🧩 Extensions downloaded: Volo.Abp.Studio.Extensions.StandardSolutionTemplates
🚲 The CLI is restarting to apply the changes with arguments: suite update
 JackFistelmann   repos    [12:44:05 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
[12:44:06 INF] Updating ABP Suite ...
Tool 'volo.abp.suite' was successfully updated from version '8.2.0' to version '8.2.2'.

using abp bundle:

abp bundle
[12:45:13 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
System.NullReferenceException: Object reference not set to an instance of an object.
  at async Task<string> Volo.Abp.Studio.Modifying.CsprojFileManager.GetAbpVersionAsync(string filePath)
  at async Task<string> Volo.Abp.Studio.Cli.Commands.StudioBundleCommand.yClRDND67t(string  )
  at async Task Volo.Abp.Studio.Cli.Commands.StudioBundleCommand.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)
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Volo.Abp.Studio.Modifying.CsprojFileManager.GetAbpVersionAsync(String filePath)
   at Volo.Abp.Studio.Cli.Commands.StudioBundleCommand.yClRDND67t(String  )
   at Volo.Abp.Studio.Cli.Commands.StudioBundleCommand.ExecuteAsync(CommandLineArgs commandLineArgs)
   at Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync(CommandLineArgs commandLineArgs)
   at Volo.Abp.Studio.Cli.StudioCliService.RunAsync(String[] args)
   at Volo.Abp.Studio.Cli.Program.x2J81t685(Object  )
   at Volo.Abp.Studio.Cli.Program.<Main>(String[] args)

I expect the issue to be that we are using central package management as well as a variable for the version:

running abp help bundle

[12:46:13 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
[12:46:13 INF]
Usage:

  abp bundle [options]

Options:

-wd|--working-directory <directory-path>                (default: empty)
-f | --force                                            (default: false)
-t | --project-type                                     (default: webassembly)

See the documentation for more info: https://abp.io/docs/latest/cli

we would need to get a parameter to pass our version or a fix or a workaround please.

as a workaround I uninstalled the new cli - and things do not die anymore:

 repos  dotnet tool uninstall -g Volo.Abp.Studio.Cli
Tool 'volo.abp.studio.cli' (version '0.7.8') was successfully uninstalled.
 repos  dotnet tool install -g Volo.Abp.Cli
You can invoke the tool using the following command: abp
Tool 'volo.abp.cli' (version '8.2.2') was successfully installed.
 repos  cd .\cb\dev\dth-cantor-administration\
 dth-cantor-administration  cd .\src\Dth.CantorAdministration.Blazor.Client\
 Dth.CantorAdministration.Blazor.Client  abp bundle
ABP CLI 8.2.2
Generating style bundle...
Style bundle has been generated successfully.
Generating script bundle...
Script bundle has been generated successfully.
 JackFistelmann   Dth.CantorAdministration.Blazor.Client    3429-portatours ≡  ~3     

did you run abp install-libs? did you also check for leptonx updates while upgrading?

and no, you do not need to purchase a blazorise commercial license.

Answer

may it be that you deployed a debug build and not a release build? As far as I know, license checks like this are not performed when running a published application 🤔

Showing 1 to 10 of 160 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13