I just started using BaGet running it as a Docker instance on on Ubuntu 22.04 Server. Its up and running without issues and I could register it on my powershell terminal with
Register-PSResourceRepository -Name 'BaGet' -Uri 'http://172.16.2.120:5555/v3/index.json' -Trusted
Of course I did a Install-Module -Name PowerShellGet -AllowPrerelease -Force beforehand.
But stil I get an error when I try to publish a module with this command:
Publish-PSResource -Path 'path\to\my\module' -Repository BaGet -ApiKey 123456789
The error is:
Publish-PSResource: Unexpectd error packing into .nupkg: 'The required element 'version' is missing from the manifest.'.
I am using the latest Powershell version 7.3 and have the dotnet 7.0 sdk version installed and it ocurs in visual studio code and windows-terminal (with admin priviledges)
Describe the bug
I just started using BaGet running it as a Docker instance on on Ubuntu 22.04 Server. Its up and running without issues and I could register it on my powershell terminal with
Register-PSResourceRepository -Name 'BaGet' -Uri 'http://172.16.2.120:5555/v3/index.json' -Trusted
Of course I did a
Install-Module -Name PowerShellGet -AllowPrerelease -Force
beforehand.But stil I get an error when I try to publish a module with this command:
Publish-PSResource -Path 'path\to\my\module' -Repository BaGet -ApiKey 123456789
The error is: Publish-PSResource: Unexpectd error packing into .nupkg: 'The required element 'version' is missing from the manifest.'.
I am using the latest Powershell version 7.3 and have the dotnet 7.0 sdk version installed and it ocurs in visual studio code and windows-terminal (with admin priviledges)