PowerShell / PowerShellGallery

228 stars 65 forks source link

Getting error while installing APISERVICE module #84

Open jagadeesh408 opened 4 years ago

jagadeesh408 commented 4 years ago

Hi,

I am getting the below error when i am trying to install APIservice module. Could someone help on this issue.

PS C:\Windows\system32> Install-Module -Name AIPService WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/AIPService/1.0.0.1' is not valid. PackageManagement\Install-Package : Package 'AIPService' failed to download. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.3\PSModule.psm1:9685 char:34

Regards, Jagadeesh

alerickson commented 4 years ago

Hi, as a work around please try Save-Module AIPService -Path . If you need help finding your modules path, please let me know.

jagadeesh408 commented 4 years ago

Thanks alerickson,

I tried it by providing path as C:\Program Files\WindowsPowerShell\Modules and getting the similar error

PS C:\Windows\system32> Save-Module AIPService -Path "C:\Program Files\WindowsPowerShell\Modules" WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/AIPService/1.0.0.1' is not valid. WARNING: Package 'AIPService' failed to download. WARNING: Package 'AIPService' failed to install. PackageManagement\Save-Package : Unable to save the module 'AIPService'. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.3\PSModule.psm1:11732 char:21