-
Notifications
You must be signed in to change notification settings - Fork 136
Cannot push to PSGallery #597
Comments
Thanks for pin-pointing the problem! From your original post it seems like the nupkg is getting created properly but somehow parsing the full file name isn't working. Could you let me know if the nupkg exists in the temporary folder that gets created (particularly when running in Windows PS since I see that the nupkg is definitely getting created there)? |
@alerickson I think the NUGET package doesn't exist? My Windows user name is chinese, may it affect results? |
@KevinZonda thank you! That's unfortunate, from the logs it seemed like the .nupkg was getting created properly, but not pushed (possibly due to incorrect parsing), but I'll have to dig in a bit more to see why exactly the nupkg isn't getting created properly. I have a few more questions for you: Could you install the nuget exe from https://aka.ms/psget-nugetexe to "C:\Program Files\nuget"? |
I'm seeing this behaviour as well (V 2.2.4). If needed, I can provide additional information about my system and environment. dotnet SDK is installed as well. ProcMon Traces and similar would be possible, as well as screen sharing via Teams or S4B |
I install dotnet SDK too. What's ur Windows build? 1809, or...? |
The latest installed dotnet SDK is 3.1.202 |
I want to upgrade my Windows. May it works. |
Can you give any progress on this? |
I just did some digging and I think I found the underlying problem: Text-Parsing! $stdOut -match "Successfully created package '(.*.nupkg)'" | Out-Null
$nupkgFullFile = $matches[1] My machine speaks german. It'll probably report "Nuget-Packet erfolgreich erstellt" or something similar. |
Steps to reproduce
Expected behavior
Actual behavior
Environment data
The text was updated successfully, but these errors were encountered: