Quantcast
Channel: My Errors & My Solutions
Viewing all articles
Browse latest Browse all 123

Update-Module : A parameter cannot be found that matches parameter name ‘AllowPrerelease’

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

I was updating BcContainerHelper PowerShell module from version from 1.0.8 to 1.0.9 when I received the following error message

##[error]Update-Module : A parameter cannot be found that matches parameter name ‘AllowPrerelease’.

Solution:
Run PowerShell as Administrator and execute the following command

Install-Module -Name PowerShellGet -Repository PSGallery -Force  

If this message was received in a DevOps build Pipeline, then you need to execute it in the server where the Agent is installed.

Did my solution solve your problem? Leave a reply.

Update-Module : A parameter cannot be found that matches parameter name ‘AllowPrerelease’
Eclipses


Viewing all articles
Browse latest Browse all 123

Trending Articles