Open Closed

error NU1101: Unable to find package Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton #3906


User avatar
0
scdev01 created
  • ABP Framework version: v5.1.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:

#0 142.8 /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj : error NU1101: Unable to find package Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, nuget.org [/src/MyProject.sln] #0 143.0 Failed to restore /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj (in 16.44 sec). #0 143.0 Restored /src/services/administration/src/MyProject.AdministrationService.HttpApi.Host/MyProject.AdministrationService.HttpApi.Host.csproj (in 1.9 min). #0 143.1 Restored /src/services/MyService1/src/MyProject.MyService1Service.HttpApi.Host/MyProject.MyService1Service.HttpApi.Host.csproj (in 1.66 sec). #0 145.1 /src/apps/auth-server/src/MyProject.AuthServer/MyProject.AuthServer.csproj : error NU1101: Unable to find package Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, nuget.org [/src/MyProject.sln] #0 145.1 /src/apps/auth-server/src/MyProject.AuthServer/MyProject.AuthServer.csproj : error NU1101: Unable to find package Volo.Abp.Account.Pro.Public.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, nuget.org [/src/MyProject.sln] #0 145.2 Failed to restore /src/apps/auth-server/src/MyProject.AuthServer/MyProject.AuthServer.csproj (in 1.94 min).

failed to solve: executor failed running [/bin/sh -c dotnet restore "MyProject.sln"]: exit code: 1

  • Steps to reproduce the issue:" Building microservice solution generated from Abp Suite with docker compose build

3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    with docker compose build

    Does it work without docker-compose? eg dotnet restore or dotnet build

  • User Avatar
    0
    scdev01 created

    with docker compose build

    Does it work without docker-compose? eg dotnet restore or dotnet build

    Yes dotnet build works on command line or in VS IDE. But it is not working with docker build. I am getting the following error:

    [#35](https://abp.io/QA/Questions/35) 8.867 /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj : error NU1202: Package Volo.Abp.Commercial.Core 5.1.2 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Volo.Abp.Commercial.Core 5.1.2 supports: netstandard2.0 (.NETStandard,Version=v2.0)
    [#35](https://abp.io/QA/Questions/35) 8.917   Failed to restore /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj (in 3.2 sec).
    [#35](https://abp.io/QA/Questions/35) 8.926   3 of 7 projects are up-to-date for restore.
    
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please share full output of docker build Thanks

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