Skip to content

[BUG] cannot update to nightly build: Update-Module: Module 'PnP.PowerShell' was not installed by using Install-Module, so it cannot be updated. #3587

Answered by AndersRask
khha asked this question in General
Discussion options

You must be logged in to vote

Try using Install-Module instead of update-module

I'm guessing that the specific scope you are installing wasn't initially installed using Install-module (eg copy to module directory) and hence can't be updated.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by khha
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #3584 on November 20, 2023 15:38.