Issue installing PowerShell module from project nuget feed

ALISTAIR MACKAY's Avatar

ALISTAIR MACKAY

12 Jan, 2019 10:54 PM

Hi,
I've used Register-PSRepository to register a package repository against a project nuget feed.
When tying to install the artefact with Install-Module, it fails with

PackageManagement\Install-Package : Package 'mypackage' failed to be installed because: End of Central Directory record could not be found.

If I download the .nupkg directly from the build artefacts, it is a valid zIp and can be extracted.

  1. Support Staff 1 Posted by Owen McDonnell on 14 Jan, 2019 10:46 PM

    Owen McDonnell's Avatar

    Can you post a build log? Are you calling Install-Module or Install-Package cmdlet.

  2. Ilya Finkelshteyn closed this discussion on 17 Mar, 2019 09:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

21 Aug, 2019 11:06 PM
21 Aug, 2019 02:08 PM
21 Aug, 2019 01:37 PM
21 Aug, 2019 10:21 AM
21 Aug, 2019 09:10 AM

 

21 Aug, 2019 05:56 AM
21 Aug, 2019 03:08 AM
20 Aug, 2019 11:33 PM
20 Aug, 2019 08:07 PM
20 Aug, 2019 05:50 PM
20 Aug, 2019 12:35 PM