PoshCode / Pansies

Powershell ANSI Escape Sequences, functions for colored output, etc.
MIT License
146 stars 14 forks source link

Unable To Download Module From PowershellGallery #7

Closed thedwindlingdba closed 3 years ago

thedwindlingdba commented 6 years ago

Hello,

When attempting to install the Pansies module from the powershell gallery using the following syntax Find-Module -Name "Pansies" -IncludeDependencies | Install-Module -Force -AllowClobber -Verbose

I receive the following error (I have also attached a screenshot of said error): PackageManagement\Install-Package : The module 'Pansies' cannot be installed or updated because it is not a properly-formed module. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.5.0.0\PSModule.psm1:1980 char:34

scrthq commented 6 years ago

Same here when trying to install on a new machine, causes the newest version of PowerLine to fail because it can't load Pansies as a dependancy

Jaykul commented 6 years ago

If you're trying to install a version over the top of the same version that's already imported, you would have trouble, because the module includes a binary assembly that would be locked in memory.

The current prerelease version works. Can you try that?

Install-Module Pansies -Scope Currentuser -AllowPrerelease -AllowClobber