Giter Club home page Giter Club logo

Comments (10)

opcon avatar opcon commented on June 2, 2024 5

I had the same issue, and removing the PsGet folder from the Modules fixed it for me

from posh-docker.

samneirinck avatar samneirinck commented on June 2, 2024

Which operating system are you on?
Could you execute Get-Command Install-Module and post its output?

from posh-docker.

felixfbecker avatar felixfbecker commented on June 2, 2024

Windows 10 Insiders Fast Ring 14986

$ get-command Install-Module

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Function        Install-Module                                     0.0        PsGet

from posh-docker.

samneirinck avatar samneirinck commented on June 2, 2024

It seems to me to be a conflict between the PsGet and PowershellGet modules. Do you actively use PsGet.

I found the following link intereseting: https://til.secretgeek.net/powershell/psget_conflicts_with_PowerShellGet.html

from posh-docker.

felixfbecker avatar felixfbecker commented on June 2, 2024

This is an almost fresh machine, I don't use either

from posh-docker.

samneirinck avatar samneirinck commented on June 2, 2024

This is the output I get from Get-Command Install-Module. The difference I see are the Source (&Version).

-----------     ----                                               -------    ------
Function        Install-Module                                     1.0.0.1    PowerShellGet

If you do a Get-Module, I believe you will see a PsGet entry in there. If you remove the PsGet folder in C:\Users\felix\OneDrive\Dokumente\WindowsPowerShell\Modules\, and start a new terminal session, I believe it should work.

from posh-docker.

samneirinck avatar samneirinck commented on June 2, 2024

Did this solve your issue?

from posh-docker.

samneirinck avatar samneirinck commented on June 2, 2024

I'm going to close this for now, since @opcon confirmed removing the PsGet folder fixed it for him/her. If it's still an issue, feel free to comment/re-open it.

from posh-docker.

kitos9112 avatar kitos9112 commented on June 2, 2024

I had this issue too
Thanks for posting the instructions on how to fix it!

from posh-docker.

w33zy avatar w33zy commented on June 2, 2024

This fix still works.

from posh-docker.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.