Open montereyharris opened 7 years ago
I also have this exact same issue in 1.2.
Copy-Item : Container cannot be copied onto existing leaf item. At C:\Users\wtom\Documents\WindowsPowerShell\Modules\InstallModuleFromGitHub\1.2\InstallModuleFromGitHub.psm1:70 char:25
+ CategoryInfo : InvalidArgument: (C:\Users\wtom\A...recission\Tests:String) [Copy-Item], PSArgumentExcep
tion
+ FullyQualifiedErrorId : CopyContainerItemToLeafError,Microsoft.PowerShell.Commands.CopyItemCommand
If there are multiple folders it seems that it fails to copy over with this error
writeErrorStream : True PSMessageDetails : Exception : System.Management.Automation.PSArgumentException: Container cannot be copied onto existing leaf item. TargetObject : C:\Users\mharris\AppData\Local\Temp\omsagent-master\views CategoryInfo : InvalidArgument: (C:\Users\mharri...nt-master\views:String) [Copy-Item], PSArgumentException FullyQualifiedErrorId : CopyContainerItemToLeafError,Microsoft.PowerShell.Commands.CopyItemCommand ErrorDetails : InvocationInfo : System.Management.Automation.InvocationInfo ScriptStackTrace : at Install-ModuleFromGitHub, C:\Program
Files\WindowsPowerShell\Modules\InstallModuleFromGitHub\1.1\InstallModuleFromGitHub.psm1: line
70
PipelineIterationInfo : {0, 1}