I was running npm run restore after init.cmd in my project.
npm is looking for contents under incorrect folders.
I got the following error. Would appreciate some help.
Unable to find version '8.305.0.5' of package 'Microsoft.Portal.Tools'. C:\Users....nuget\packages: Package 'Microsoft.Portal.Tools.8.305.0.5' is not found on source 'C:\Users....nuget\packages'. C:\Program Files (x86)\Microsoft SDKs\NuGetPackages: Package 'Microsoft.Portal.Tools.8.305.0.5' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages'. https://api.nuget.org/v3/index.json : Package 'Microsoft.Portal.Tools.8.305.0.5' is not found on source 'https://api.nuget.org/v3/index.json'.
Unable to find version '5.1.0.19' of package 'Microsoft.Azure.Gallery.AzureGalleryUtility'. C:\Users....nuget\packages: Package 'Microsoft.Azure.Gallery.AzureGalleryUtility.5.1.0.19' is not found on source 'C:\Users....nuget\packages'. C:\Program Files (x86)\Microsoft SDKs\NuGetPackages: Package 'Microsoft.Azure.Gallery.AzureGalleryUtility.5.1.0.19' is not found C:\Program Files (x86)\Microsoft SDKs\NuGetPackages: Package 'Microsoft.Azure.Gallery.Common.5.1.0.19' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages'. https://api.nuget.org/v3/index.json : Package 'Microsoft.Azure.Gallery.Common.5.1.0.19' is not found on source 'https://api.nuget.org/v3/index.json'.
1条答案
按热度按时间hs1ihplo1#
原来我们在nuget.config文件中缺少一些