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 PSGit fails with exception #57

Open
felixfbecker opened this issue Jun 9, 2018 · 2 comments
Open

Import-Module PSGit fails with exception #57

felixfbecker opened this issue Jun 9, 2018 · 2 comments

Comments

@felixfbecker
Copy link
Contributor

felixfbecker commented Jun 9, 2018

> Import-Module PSGit
Import-Module : Exception calling "EnableVirtualTerminalProcessing" with "0" argument(s): "The type initializer for 'PoshCode.Pansies.Console.WindowsHelper' threw an exception."
At line:1 char:1
+ Import-Module PSGit
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Import-Module], MethodInvocationException
+ FullyQualifiedErrorId : TypeInitializationException,Microsoft.PowerShell.Commands.ImportModuleCommand
> $PSVersionTable

Name                           Value                                                                                                                    
----                           -----                                                                                                                    
PSVersion                      6.0.1                                                                                                                    
PSEdition                      Core                                                                                                                     
GitCommitId                    v6.0.1                                                                                                                   
OS                             Darwin 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018; root:xnu-4570.51.2~1/RELEASE_X86_64            
Platform                       Unix                                                                                                                     
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                  
PSRemotingProtocolVersion      2.3                                                                                                                      
SerializationVersion           1.1.0.1                                                                                                                  
WSManStackVersion              3.0  

Is macOS supported?

@Jaykul
Copy link
Member

Jaykul commented Dec 11, 2018

It should be. The error you're getting is in /Jaykul/PANSIES -- the release version of that should be cross-platform, so that's definitely a bug (the EnableVirtualTerminalProcessing call is meant to fix the Windows 10 console -- so it should not be getting called on OS X, obviously).

@Jaykul
Copy link
Member

Jaykul commented Dec 11, 2018

Since PANSIES is my module too, I'm going to leave this open here until I'm sure it's fixed in PANSIES.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants