fullstackhero / dotnet-starter-kit

Production Grade Cloud-Ready .NET 8 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
https://fullstackhero.net/dotnet-webapi-boilerplate/
MIT License
5.22k stars 1.56k forks source link

Getting ERROR while setting up FSH console tool. #855

Closed santoshpatro closed 1 year ago

santoshpatro commented 1 year ago

I am trying to install latest FSH console tool. I have all the prequsites like .NET 7 and Nodejs (latest) installed in my machine. Now when I tried to install the FSH console via the cmd prompt I see the below error :

C:\Users\user1\AppData\Local\Temp\fafa2e0f-f7fc-490b-b7b4-7ec62eb73669\restore.csproj : error NU1301: Unable to load
the service index for source https://pkgs.dev.azure.com/symphonyvsts/_packaging/deloitte-nuget/nuget/v3/index.json.
The tool package could not be restored.
Tool 'fsh.cli' failed to install. This failure may have been caused by:

* You are attempting to install a preview release and did not use the --version option to specify the version.
* A package by this name was found, but it was not a .NET tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool.

For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool

I have already installed the FullStackHero WebAPI Boilerplate with .NET 6 version.

Can you please help me to fix this issue

iammukeshm commented 1 year ago

I think there is an issue with your NuGet source setup. Please try running dotnet nuget list source to verify.

WindowsTerminal_syDJPVQcdZ

The exception says that it has trouble connecting to a custom source on Azure (probably your org). It should start working once you point it to api.nuget.org.

santoshpatro commented 1 year ago

Thanks a lot Mukesh. It helped me to fix the issue