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

Import-Module Pansies fails #11

Closed
kort3x opened this issue Jun 3, 2018 · 1 comment
Closed

Import-Module Pansies fails #11

kort3x opened this issue Jun 3, 2018 · 1 comment
Labels
can't repro We'd need more information to address this.

Comments

@kort3x
Copy link

kort3x commented Jun 3, 2018

When I try to import Pansies i get:

Import-Module : Ein Teil des Pfades "C:\Program Files\WindowsPowerShell\Modules\UserProfile\1.0\UserProfile.Format.ps1xml" konnte
nicht gefunden werden.
In Zeile:1 Zeichen:1
+ Import-Module Pansies
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (:String) [Import-Module], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand

roughly translates to:

Part of the path "C: \ Program Files \ WindowsPowerShell \ Modules \ UserProfile \ 1.0 \ UserProfile.Format.ps1xml" failed to be found.

I checked and well there is directory UserProfile in the Modules folder.
When should this directory and the file get created?
What can I do to fix this?

PSVersion 5.1.17134.81
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17134.81
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

@Jaykul
Copy link
Member

Jaykul commented Sep 8, 2018

I really have no idea what this is about. I assume you had a format file from there imported, but that it was missing when you imported Pansies, and PowerShell is complaining because Pansies includes it's own format file, and PowerShell may therefore be trying to update all the format files...

Can't see how it's caused by Pansies though.

  • Which version of Pansies was it?
  • Can you try the latest pre-release?
Update-Module Pansies -AllowPrerelease

@Jaykul Jaykul added the can't repro We'd need more information to address this. label Sep 8, 2018
@Jaykul Jaykul closed this as completed Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't repro We'd need more information to address this.
Projects
None yet
Development

No branches or pull requests

2 participants