Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't seem to get it to install #116

Closed
iratrivers opened this issue Aug 19, 2016 · 1 comment
Closed

Can't seem to get it to install #116

iratrivers opened this issue Aug 19, 2016 · 1 comment

Comments

@iratrivers
Copy link

Install-Module ImportExcel -Scope CurrentUser
PackageManagement\Install-Package : Package 'ImportExcel' failed to be installed because: End of Central Directory record could not be found.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1375 char:21

  • ... $null = PackageManagement\Install-Package @PSBoundParameters
  •                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidResult: (ImportExcel:String) [Install-Package], Exception
    • FullyQualifiedErrorId : Package '{0}' failed to be installed because: {1},Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
@PetRose
Copy link

PetRose commented Jan 10, 2018

Guys,
Had the same issue myself. Found - running Install-Module verbosely - that a tiny message (haven't kept the exact text) appears before this 'give up' attempt:

The hash of the downloaded module is not valid

My super PS admin, could provide me a downloaded package that we managed to install 'outside' of the PS Module Environment, and then I prepended its path using my Local User environment variable PSModulePath as a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants