Open Closed

ABP update error #8492


User avatar
0
wingers created

Updating new project from v9.01 to v9.02 gives error about leptonx – see output below:

PS C:\Users\User\Documents\Projects\PCA> abp update [21:28:30 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.9.16 (Beta) [21:28:32 INF] Updating package "Volo.Abp.AspNetCore.Mvc" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Autofac" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.AutoMapper" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Swashbuckle" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.AspNetCore.Serilog" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Account.Pro.Admin.Web" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Account.Pro.Admin.HttpApi" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Account.Pro.Admin.Application" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Account.Pro.Public.Web.OpenIddict" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Account.Pro.Public.HttpApi" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Account.Pro.Public.Application" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.PermissionManagement.Domain.Identity" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Identity.Pro.Web" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Identity.Pro.HttpApi" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Identity.Pro.Application" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.PermissionManagement.Domain.OpenIddict" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.PermissionManagement.Web" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.PermissionManagement.HttpApi" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.PermissionManagement.Application" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.LanguageManagement.Web" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.LanguageManagement.HttpApi" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.LanguageManagement.Application" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Gdpr.Web" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Gdpr.HttpApi" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Gdpr.Application" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.AuditLogging.Web" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.AuditLogging.HttpApi" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.AuditLogging.Application" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.FeatureManagement.Web" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.FeatureManagement.HttpApi" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.FeatureManagement.Application" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.SettingManagement.Web" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.SettingManagement.HttpApi" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.SettingManagement.Application" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" from v4.0.2 to v4.0.3 [21:28:32 INF] Updating package "Volo.Abp.AuditLogging.EntityFrameworkCore" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.LanguageManagement.EntityFrameworkCore" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Gdpr.EntityFrameworkCore" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.Identity.Pro.EntityFrameworkCore" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.OpenIddict.Pro.EntityFrameworkCore" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.BackgroundJobs.EntityFrameworkCore" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.BlobStoring.Database.EntityFrameworkCore" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.FeatureManagement.EntityFrameworkCore" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.PermissionManagement.EntityFrameworkCore" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.SettingManagement.EntityFrameworkCore" from v9.0.1 to v9.0.2 [21:28:32 INF] Updating package "Volo.Abp.EntityFrameworkCore.SqlServer" from v9.0.1 to v9.0.2 [21:28:32 INF] Package: "Volo.Abp.Studio.Client.AspNetCore-v0.9.16" is up to date [21:28:32 INF] Updating package "Volo.Abp.Commercial.SuiteTemplates" from v9.0.1 to v9.0.2 [21:28:32 INF] Volo packages are updated in PCA solution [21:28:32 INF] Checking installed npm global packages... [21:28:35 INF] Updated @volo/language-management to ~9.0.2 in \PCA\package.json. [21:28:37 INF] Updated @volo/account to ~9.0.2 in \PCA\package.json. [21:28:38 INF] Updated @volo/audit-logging to ~9.0.2 in \PCA\package.json. [21:28:40 INF] Updated @volo/identity to ~9.0.2 in \PCA\package.json. [21:28:41 INF] Updated @volo/abp.aspnetcore.mvc.ui.theme.leptonx to ~4.0.3 in \PCA\package.json. [21:28:41 INF] Running Yarn on C:\Users\User\Documents\Projects\PCA\PCA
yarn install v1.22.22 [1/4] Resolving packages... [2/4] Fetching packages... warning chart.js@4.4.7: The engine "pnpm" appears to be invalid. [3/4] Linking dependencies... warning "@volo/language-management > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/bootstrap > bootstrap@5.3.3" has unmet peer dependency "@popperjs/core@^2.11.8". warning "@volo/language-management > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/jquery-validation-unobtrusive > @abp/jquery-validation > jquery-validation@1.21.0" has unmet peer dependencyjquery@^1.7 || ^2.0 || ^3.1. [4/4] Building fresh packages... success Saved lockfile. Done in 8.09s. [21:28:51 INF] Installing client-side packages... [21:28:51 INF] Found 1 projects. [21:28:51 INF] C:\Users\User\Documents\Projects\PCA\PCA [21:28:51 INF] Running Yarn on C:\Users\User\Documents\Projects\PCA\PCA yarn install v1.22.22 [1/4] Resolving packages... success Already up-to-date. Done in 0.07s. [21:28:51 INF] Adjusting import versions... **[21:28:52 ERR] NuGet package not found Package: Volo.Abp.LeptonXTheme.Installer, Version: 4.0.2 Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown. at async Task Volo.Abp.Studio.Nuget.NugetPackageManager.DownloadAsync(string packageId, string version, bool useOnlyPublicNuGet) at async Task<string> Volo.Abp.Studio.Nuget.NugetSourceCodeStore.GetContentsPathAsync(string packageId, string version ) at async Task<string> Volo.Abp.Studio.Modules.Installing.RemoteModuleManager.ISpDzk97Ii(string , string ) at async Task<ModuleInfo> Volo.Abp.Studio.Modules.Installing.RemoteModuleManager.xn452iRHb5(string , string version) at async Task<ModuleInfo> Volo.Abp.Studio.Modules.Installing.RemoteModuleManager.GetModuleInfoAsync(string referenceModule, string version) at async Task Volo.Abp.Studio.Modules.ModuleManager.AdjustImportVersionsAsync(string modulePath) at async Task Volo.Abp.Studio.Cli.Commands.StudioUpdateCommand.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) **


11 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can try Volo.Abp.LeptonXTheme.Installer version a to 4.0.3

  • User Avatar
    0
    wingers created

    Please explain what you mean? as I just ran abp update command so what else do I need to do?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Use vs code to search Volo.Abp.LeptonXTheme.Installer and change it's version

  • User Avatar
    0
    vblain created

    Following this thread also, having same issue. Tried searching using agent ransack and VS Code with no results. Also tried abp get-source volo.abp.leptonxtheme.installer --version 4.0.3 with no success. Can you elaborate as to where this should be? Please.

  • User Avatar
    0
    vblain created

    found file under main folder .abpmdl with

    "Volo.Abp.LeptonXTheme": { "version": "4.0.2", "isInstalled": true },

    Changed it to 4.0.3 and getting error - which suggest I changed the correct thing but I cannot find that nugget package anywhere and not able to download it

    NuGet package not found Package: Volo.Abp.LeptonXTheme.Installer, Version: 4.0.3 Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown. at async Task Volo.Abp.Studio.Nuget.NugetPackageManager.DownloadAsync(string packageId, string version, bool useOnlyPublicNuGet) at async Task<string> Volo.Abp.Studio.Nuget.NugetSourceCodeStore.GetContentsPathAsync(string packageId, string version) at async Task<string> Volo.Abp.Studio.Modules.Installing.RemoteModuleManager.ISpDzk97Ii(string , string ) at async Task<ModuleInfo> Volo.Abp.Studio.Modules.Installing.RemoteModuleManager.xn452iRHb5(string , string version) at async Task<ModuleInfo> Volo.Abp.Studio.Modules.Installing.RemoteModuleManager.GetModuleInfoAsync(string referenceModule, string version) at async Task Volo.Abp.Studio.Modules.ModuleManager.AdjustImportVersionsAsync(string modulePath) at async Task Volo.Abp.Studio.Cli.Commands.StudioUpdateCommand.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)

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    I can find it in the ABP commercial nuget source, you can check your nuget.config

  • User Avatar
    0
    wingers created

    no sign of it in my nuget.config which just contains below:

    <?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> <add key="nuget.abp.io" value="https://nuget.abp.io/...../v3/index.json" /> </packageSources> <packageSourceMapping> <packageSource key="nuget.org"> <package pattern="" /> <package pattern="Microsoft." /> <package pattern="Volo." /> </packageSource> <packageSource key="nuget.abp.io"> <package pattern="Volo." /> </packageSource> </packageSourceMapping> </configuration>

  • User Avatar
    0
    improwise created

    This seems related to the topic at hand here.

    Just upgraded a solution a few months old från 8.3.0 to 8.3.1 using ABP Suite which updated from

    &lt;PackageReference Include=&quot;Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX&quot; Version=&quot;3.3.0&quot; /&gt;
    

    to

    &lt;PackageReference Include=&quot;Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX&quot; Version=&quot;4.0.3&quot; /&gt;
    

    which makes the solution impossible to build with

    The type or namespace name 'LeptonX' does not exist in the namespace 'Volo.Abp.AspNetCore.Mvc.UI.Theme' (are you missing an assembly reference?)

    Downgrading to 3.3.0 makes it possible to build and run again.

    Edit:

    Seems you can upgrade to 3.3.1 but anything above that seems to break.

    Edit 2:

    Seems like something is broken in the final ABP 8 versions, but when we upgraded .NET to 9 and then all other packages to latest version, it seem to work.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi @improwise

    LeptonX 4.0.3 is based on ABP 9.0.2

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    you can try again

  • User Avatar
    0
    wingers created

    I can confirm it now runs without an error :)

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09