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
May be due to other versions of pester being present
Expected behavior
Pester Installs
Actual behavior
Pester gets copied to scripts
Error details
💥❯ install-psresource pester -verboseVERBOSE: All paths to search: 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Modules'VERBOSE: All paths to search: 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Scripts'VERBOSE: Performing the operation "Install-PSResource" on target "package to install: 'pester'".VERBOSE: Parameters passed in >>> Name: 'pester'; Version: ''; Prerelease: 'False'; Repository: ''; AcceptLicense: 'False'; Quiet: 'False'; Reinstall: 'False'; TrustRepository: 'False'; NoClobber: 'False';VERBOSE: Attempting to search for packages in 'PSGallery'VERBOSE: Checking if untrusted repository should be usedUntrusted repositoryYou are installing the modules from an untrusted repository. If you trust this repository, change its Trusted value byrunning the Set-PSResourceRepository cmdlet. Are you sure you want to install the PSresource from 'PSGallery' ?[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): yVERBOSE: Untrusted repository accepted as trusted source.VERBOSE: Null Type provided, so add PSGalleryScripts repositoryVERBOSE: Searching in repository PSGalleryVERBOSE: 5.3.0.0VERBOSE: Null Type provided, so add PSGalleryScripts repositoryVERBOSE: Searching in repository PSGalleryVERBOSE: Searching through package path: 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Modules\Pester'VERBOSE: Searching through package path: 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Modules\Pester'VERBOSE: Searching through package version path: 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Modules\Pester\5.2.2'VERBOSE: Directory parsed as NuGet version: '5.2.2'VERBOSE: Reading package metadata from: 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Modules\Pester\5.2.2\PSGetModuleInfo.xml'VERBOSE: Searching through package path: 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Modules\Pester'VERBOSE: Searching through package path: 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Modules\Pester'VERBOSE: Searching through package version path: 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Modules\Pester\5.2.2'VERBOSE: Directory parsed as NuGet version: '5.2.2'VERBOSE: Reading package metadata from: 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Modules\Pester\5.2.2\PSGetModuleInfo.xml'WARNING: Resource 'Pester' with version '5.2.2' is already installed. If you would like to reinstall, please run the cmdlet again with the -Reinstall parameterVERBOSE: Searching through package version path: 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Modules\Pester\5.1.1'VERBOSE: Directory parsed as NuGet version: '5.1.1'VERBOSE: Reading package metadata from: 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Modules\Pester\5.1.1\PSGetModuleInfo.xml'WARNING: Resource 'Pester' with version '5.1.1' is already installed. If you would like to reinstall, please run the cmdlet again with the -Reinstall parameterVERBOSE: Begin installing package: 'Pester'VERBOSE: Successfully able to download package from source to: 'C:\Users\JGrote\AppData\Local\Temp\126f2020-ff52-4bba-b059-14660872c379'VERBOSE: Deleting 'C:\Users\JGrote\AppData\Local\Temp\126f2020-ff52-4bba-b059-14660872c379\pester\5.3.0\pester.5.3.0.nupkg.sha512'VERBOSE: Deleting 'C:\Users\JGrote\AppData\Local\Temp\126f2020-ff52-4bba-b059-14660872c379\pester\5.3.0\pester.nuspec'VERBOSE: Deleting 'C:\Users\JGrote\AppData\Local\Temp\126f2020-ff52-4bba-b059-14660872c379\pester\5.3.0\pester.5.3.0.nupkg'VERBOSE: Installation source path is: 'C:\Users\JGrote\AppData\Local\Temp\126f2020-ff52-4bba-b059-14660872c379\pester\5.3.0'VERBOSE: Installation destination path is: 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Scripts'VERBOSE: Checking if path 'True' exists:VERBOSE: Deleting script metadata XMLVERBOSE: Moving 'C:\Users\JGrote\AppData\Local\Temp\126f2020-ff52-4bba-b059-14660872c379\pester\5.3.0\Pester_InstalledScriptInfo.xml' to 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Scripts\InstalledScriptInfos\Pester_InstalledScriptInfo.xml'VERBOSE: Checking if path 'True' exists:VERBOSE: Deleting script fileVERBOSE: Moving 'C:\Users\JGrote\AppData\Local\Temp\126f2020-ff52-4bba-b059-14660872c379\pester\5.3.0\Pester.ps1' to 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Scripts\Pester.ps1'VERBOSE: Successfully installed package 'Pester' to location 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Scripts'VERBOSE: Attempting to delete 'C:\Users\JGrote\AppData\Local\Temp\126f2020-ff52-4bba-b059-14660872c379'VERBOSE: Successfully deleted 'C:\Users\JGrote\AppData\Local\Temp\126f2020-ff52-4bba-b059-14660872c379'
### Environment data
```powershell
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Binary 3.0.11 beta PowerShellGet {Find-PSResource, Get-InstalledPSResource, Get-PS…
Key : PSVersion
Value : 7.1.4
Name : PSVersion
Key : PSEdition
Value : Core
Name : PSEdition
Key : GitCommitId
Value : 7.1.4
Name : GitCommitId
Key : OS
Value : Microsoft Windows 10.0.22000
Name : OS
Key : Platform
Value : Win32NT
Name : Platform
Key : PSCompatibleVersions
Value : {1.0, 2.0, 3.0, 4.0…}
Name : PSCompatibleVersions
Key : PSRemotingProtocolVersion
Value : 2.3
Name : PSRemotingProtocolVersion
Key : SerializationVersion
Value : 1.1.0.1
Name : SerializationVersion
Key : WSManStackVersion
Value : 3.0
Name : WSManStackVersion
Visuals
No response
The text was updated successfully, but these errors were encountered:
Thanks @JustinGrote! I'm going to close this issue because we're tracking this particular issue here #383. We'll have this fixed for the next release, though.
Prerequisites
Steps to reproduce
May be due to other versions of pester being present
Expected behavior
Pester Installs
Actual behavior
Pester gets copied to scripts
Error details
Visuals
No response
The text was updated successfully, but these errors were encountered: