We are running the following command and getting an error:
abp add-package Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX
info : GET https://api.nuget.org/v3-flatcontainer/volo.abp.aspnetcore.mvc.ui.theme.leptonx/index.json info : NotFound https://api.nuget.org/v3-flatcontainer/volo.abp.aspnetcore.mvc.ui.theme.leptonx/index.json 407ms error: NU1101: Unable to find package Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX. No packages exist with this id in source(s): nuget.org
Please could you let me know how to resolve this.
5 Answer(s)
-
0
Hi @rmk
This package is stored in ABP's private NuGet server, so it doesn't exist on nuget.org. When you create an ABP project, it should contain a NuGet config and this NuGet.config file also contains a NuGet source linked to your license.
So, if you are adding this package to a commercial project, it should already be there. If you are trying to add this to a open-source project, you should copy the NuGet config from commercial project to your open-source project.
-
0
Hi @rmk
This package is stored in ABP's private NuGet server, so it doesn't exist on nuget.org. When you create an ABP project, it should contain a NuGet config and this NuGet.config file also contains a NuGet source linked to your license.
So, if you are adding this package to a commercial project, it should already be there. If you are trying to add this to a open-source project, you should copy the NuGet config from commercial project to your open-source project.
Thank you for your response and we have tried to install the new ABP.Studio.cli but when running ABP we are getting an excpetion. We are not sure if this is somtehing we are doing wrong or if there is an issue with the ABP.Studio.CLI
We have reverted back to previous version of ABP and maanged to get the Nuget config as you recommended
Here is the exception when running ABP.Studio.cli
root@ba2be6b71f37:~# abp [14:41:28 INF] ABP CLI 0.7.2 (Beta) [14:41:28 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 [14:41:28 INF] Checking extensions... [14:41:33 INF] Extensions downloaded: Volo.Abp.Studio.Extensions.StandardSolutionTemplates [14:41:33 WRN] Extensions have been downloaded. The CLI is restarting to apply the changes with arguments: root@ba2be6b71f37:~# Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly '/root/.nuget/packages/volo.abp.studio.extensions.standardsolutiontemplates/0.7.2/lib/net8.0/Volo.Abp.Studio.Extensions.StandardSolutionTemplates.CLI.dll'. The system cannot find the file specified.
File name: '/root/.nuget/packages/volo.abp.studio.extensions.standardsolutiontemplates/0.7.2/lib/net8.0/Volo.Abp.Studio.Extensions.StandardSolutionTemplates.CLI.dll' at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyBinder, String ilPath, String niPath, ObjectHandleOnStack retAssembly) at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath) at Volo.Abp.Modularity.PlugIns.FilePlugInSource.GetModules() at Volo.Abp.Modularity.PlugIns.PlugInSourceExtensions.zituPeYoUqRoGaJBbCa(Object) at Volo.Abp.Modularity.PlugIns.PlugInSourceExtensions.GetModulesWithAllDependencies(IPlugInSource plugInSource, ILogger logger) at Volo.Abp.Modularity.PlugIns.PlugInSourceList.<>c__DisplayClass0_0.YGrQSGZYQi(IPlugInSource pluginSource) at System.Linq.Enumerable.SelectManySingleSelectorIterator
2.MoveNext() at System.Collections.Generic.HashSet
1.UnionWith(IEnumerable1 other) at System.Collections.Generic.HashSet
1..ctor(IEnumerable1 collection, IEqualityComparer
1 comparer) at System.Linq.Enumerable.DistinctIterator1.ToArray() at Volo.Abp.Modularity.PlugIns.PlugInSourceList.GetAllModules(ILogger logger) at Volo.Abp.Modularity.ModuleLoader.FillModules(List
1 modules, IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.Modularity.ModuleLoader.OgHkXsZ3ox(IServiceCollection , Type , PlugInSourceList ) at Volo.Abp.Modularity.ModuleLoader.LoadModules(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.AbpApplicationBase.LoadModules(IServiceCollection services, AbpApplicationCreationOptions options) at Volo.Abp.AbpApplicationBase..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationWithInternalServiceProvider..ctor(Type startupModuleType, IServiceCollection services, Action
1 optionsAction) at Volo.Abp.AbpApplicationWithInternalServiceProvider..ctor(Type startupModuleType, Action1 optionsAction) at Volo.Abp.AbpApplicationFactory.Create(Type startupModuleType, Action
1 optionsAction) at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](Action`1 optionsAction) at Volo.Abp.Studio.Cli.Program.tcpXIl4Ci(Object ) at Volo.Abp.Studio.Cli.Program.(String[] args) -
0
Hi,
May I ask what is your PC system
-
0
Hi,
May I ask what is your PC system
We are devloping on a Linux system using Vscode
-
0
hi
It is a case-sensitive problem.
Volo.Abp.Studio.Extensions.StandardSolutionTemplates.CLI.dll Volo.Abp.Studio.Extensions.StandardSolutionTemplates.Cli.dll
We will fix it asap.
https://github.com/abpframework/abp/issues/20398