Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Error on PowerShell-Module publishing to feed

    Scheduled Pinned Locked Moved Support
    4 Posts 2 Posters 8 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      thilo.langbein_9033
      last edited by thilo.langbein_9033

      It seems that something want's to go over the company proxy. But my ProGet server is on-prem. Any ideas?

      AUSFÜHRLICH: finished running C:\Program Files\dotnet\dotnet.exe with exit code 1
      Publish-PSArtifactUtility : Failed to generate the compressed file for module 'C:\Program Files\dotnet\dotnet.exe failed to pack: error Microsoft (R)-Build-Engine, Version 15.9.20+g88f5fadfbe für .NET Core
      Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
        Pakete für "C:\Users\<user>\AppData\Local\Temp\81f14a76-9d0f-4140-a2bd-a2c2f86a4427\Temp.csproj" werden wiederhergestellt...
      C:\Program Files\dotnet\sdk\2.1.505\NuGet.targets(114,5): error : Der Dienstindex für die Quelle "https://api.nuget.org/v3/index.json" konnte nicht geladen werden. [C:\Users\<user>\AppData\Local\Temp\81f14a76-9d0f-4140-a2bd-a2c2f86a4427\Temp.csproj]
      C:\Program Files\dotnet\sdk\2.1.505\NuGet.targets(114,5): error :   Response status code does not indicate success: 407 (AuthenticationRequired-kurz). [C:\Users\<user>\AppData\Local\Temp\81f14a76-9d0f-4140-a2bd-a2c2f86a4427\Temp.csproj]
      '.
      In C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.4.1\PSModule.psm1:10988 Zeichen:17
      + ...             Publish-PSArtifactUtility @PublishPSArtifactUtility_Param ...
      +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : InvalidOperation: (:) [Write-Error], WriteErrorException
          + FullyQualifiedErrorId : FailedToCreateCompressedModule,Publish-PSArtifactUtility
      
      1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer
        last edited by

        It looks like you're not specifying the -Source argument? I'm not totally sure, but here's the docs on Publish-Module might help diagnose.

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          thilo.langbein_9033 @atripp
          last edited by

          @atripp But there is no -Source Argument for Publish-Module.

          1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer
            last edited by

            Hmm, for this, then it seems -Repository is the argument?

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation