Trying to follow this blog post where I have the correct SDK and node installed.
Running the command dotnet new --install Microsoft.AspNetCore.SpaTemplates::*gives me an error:
dotnet new --install Microsoft.AspNetCore.SpaTemplates::*
Restoring packages for C: \ Users \ xxxx.templateengine \ dotnetcli \ v1.0.4 \ scratching \ restore.csproj ... Retrying "FindPackagesByIdAsyncCore" for source ' https: // ournugetserver / httpAuth / app / nuget / v1 / FeedService. svc / FindPackagesById ()? id = 'Microsoft.NETCore.App' '. The response status code does not indicate success: 401 (unauthorized).Retrying "FindPackagesByIdAsyncCore" for source ' https: //ournugetserver/httpAuth/app/nuget/v1/FeedService.svc/FindPackagesById ()? Id = ' Microsoft.AspNetCore.SpaTemplates ''. The response status code does not indicate success: 401 (unauthorized).Retrying "FindPackagesByIdAsyncCore" for source ' https: // tcypwv01 / httpAuth / app / nuget / v1 / FeedService.svc / FindPackagesById ()? id ='Microsoft.AspNetCore.SpaTemplates'. The response status code does not indicate success: 401 (unauthorized).Retrying "FindPackagesByIdAsyncCore" for source ' https: //ournugetserver/httpAuth/app/nuget/v1/FeedService.svc/FindPackagesById ()? Id = ' Microsoft.NETCore.App ''. The response status code does not indicate success: 401 (unauthorized). C: \ Program Files \ dotnet \ sdk \ 1.0.4 \ NuGet.targets (97.5): error: crash to get information about "Microsoft.NETCore.App" from remote source ' https: // ournugetserver / httpAuth / app /nuget/v1/FeedService.svc/FindPackagesById()?id= 'Microsoft.NETCore.App' '. [C: \ Users \ xxxxx.templateengine \ dotnetcli \ v1.0.4 \ scratch \ restore.csproj] C: \ Program Files \ dotnet \ sdk \ 1.0.4 \ NuGet.targets (97.5):error:The response status code does not indicate success: 401 (unauthorized). [C: \ Users \ xxxxx.templateengine \ dotnetcli \ v1.0.4 \ scratch \ restore.csproj]
This seems to be related to our internal nuget server. I am using VS 2017. Looking for a way to make it ignore our nuget server or make it use the correct one?
Nuget. nuget.org(https://www.nuget.org/api/v2/) . , . , nuget.org Glass Builder Server (http://build.glass.lu/guestAuth/app/nuget/v1/FeedService.svc), Glass Builder .
Visual Studio Ctrl+Q, package sources . Visual Studio. CLI, NuGet.config , . , nuget .
Ctrl+Q
package sources
NuGet.config
Source: https://habr.com/ru/post/1677018/More articles:Получить YAML для развернутых сервисов Kubernetes? - dockerAngular 2 Dart: how to detect a click on everything except an element? - eventsData blocking in SQL Server using transaction isolation levels - sql"Error while receiving control message (SocketClosed): empty socket content" in Tor Tor controller - pythonJava 8 собирает, рассчитывает с суммой - javaHow to convert a Set containing values to a string - javaGet link to angular 4 element - angularcv2.imshow () kernel crash - pythonВыбираем каждую n-ю строку с помощью LINQ - c#Я презираю WIX, и я хочу, чтобы WIX умирал (реальное название: не может запускать собственное действие и одновременно удалять папку) - wixAll Articles