failed to download/install module

This topic contains 2 replies, has 2 voices, and was last updated by  Luca Alberti 1 year, 5 months ago.

  • Author
    Posts
  • #37029

    Luca Alberti
    Participant

    Hi guys,
    just changed my laptop with a new win10 64 bit.
    I'm setting up my apps, my powershell modules and so on.
    Anyway trying to install isesteroids from psgallery, I'm getting this error:

    PackageManagement\Install-Package : Package 'ISESteroids' failed to install.
    In C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1375 car:21
    + ... $null = PackageManagement\Install-Package @PSBoundParameters
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidResult: (ISESteroids:String) [Install-Package], Exception
    + FullyQualifiedErrorId : PackageFailedInstallOrDownload,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackag

    seems that it can't download the nuget package (from browser works fine).
    Trying with other modules I get no error.

    Have you got any ideas?

    than you !

  • #37030

    Don Jones
    Keymaster

    I'd suggest contacting Tobias (the author) and seeing if he has any suggestions.

  • #37045

    Luca Alberti
    Participant

    Indeed.

    Tobias wrote me back ..:
    "This is a known problem with the gallery and was reported to Microsoft. Apparently, larger modules can run into a timeout while downloading. The exception you see has been reported occasionally from users within Europe, and sometimes dissappeared automagically over time."

You must be logged in to reply to this topic.