You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### VSCode version: 1.43.0 78a4c91400152c0f27ba4d363eb56d2835f9903a x64
### VSCode extensions:
[email protected][email protected][email protected][email protected][email protected]
### PSES version: 2.1.0.0
### PowerShell version:
Name Value
---- -----
PSVersion 7.0.0
PSEdition Core
GitCommitId 7.0.0
OS Microsoft Windows 10.0.18363
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Issue Description
I suspect you are aware of this. This is for other users who may have this issue.
The following is displayed in the terminal:
WARNING: Failed to import Pester version 5.0.0. You must install Pester module to run or debug Pester tests.
WARNING: You can install Pester by executing: Install-Module Pester -MinimumVersion 5.0.0 -Scope CurrentUser -Force
Executing Install-Module Pester -MinimumVersion 5.0.0 -Scope CurrentUser -Force results in the following error:
> Install-Module Pester -MinimumVersion 5.0.0 -Scope CurrentUser -Force
Install-Package: C:\program files\powershell\7\Modules\PowerShellGet\PSModule.psm1:9685:34
Line |
9685 | … talledPackages = PackageManagement\Install-Package @PSBoundParameters
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| No match was found for the specified search criteria and module name 'Pester'. Try Get-PSRepository to
| see all available registered module repositories.
System Details
System Details Output
Issue Description
I suspect you are aware of this. This is for other users who may have this issue.
The following is displayed in the terminal:
Executing
Install-Module Pester -MinimumVersion 5.0.0 -Scope CurrentUser -Force
results in the following error:Expected Behaviour
I expected Pester 5 to be installed.
Actual Behaviour
I got an error.
Workaround:
The text was updated successfully, but these errors were encountered: