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

Publish-Module does not work #290

Closed
3 tasks done
jformacek opened this issue Aug 20, 2024 · 1 comment
Closed
3 tasks done

Publish-Module does not work #290

jformacek opened this issue Aug 20, 2024 · 1 comment

Comments

@jformacek
Copy link

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

Trying to publish module with dependency on other module via Publish-Module -Path xxx -NuGetApiGey yyy
Getting error:
ValidateAndGet-RequiredModuleDetails: The property 'Name' cannot be found on this object. Verify that the property exists.

Few days ago, publishing of the same module, just lower version, worked just fine. Module is valid, can be loaded without problems and works.

Expected behavior

Valid module with dependencies can be published via `Publish-Module -Path xxx -NuGetApiGey yyy`

Actual behavior

`Publish-Module -Path xxx -NuGetApiGey yyy` returns error:
ValidateAndGet-RequiredModuleDetails: The property 'Name' cannot be found on this object. Verify that the property exists.

Error details

No response

Environment data

$psversionTable

Name                           Value
----                           -----
PSVersion                      7.4.4
PSEdition                      Core
GitCommitId                    7.4.4
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

PS Core 7.4.4

Visuals

No response

@jformacek
Copy link
Author

jformacek commented Aug 21, 2024

Seems this is problem in PowerShellGet. I opened issue PowerShell/PowerShellGet#74 and closing this one.

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

1 participant