tkellogg / Jump-Location

Powershell `cd` that reads your mind
MIT License
467 stars 26 forks source link

Error: Set-JumpLocation : The type initializer for 'Jump.Location.SetJumpLocationCommand' threw an exception. #66

Open artkpv opened 6 years ago

artkpv commented 6 years ago

Thanks for the great tool! How to fix TypeInitializationException ?

~ $
install-module jump.location
~ $
refreshenv
Refreshing environment variables from registry for cmd.exe. Please wait...Finished..
~ $
import-module jump.location
Set-JumpLocation : The type initializer for 'Jump.Location.SetJumpLocationCommand' threw an exception.
At C:\Program Files\WindowsPowerShell\Modules\jump.location\0.6.0\Load.ps1:36 char:2
+     Set-JumpLocation -Initialize
+     ~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], TypeInitializationException
    + FullyQualifiedErrorId : System.TypeInitializationException
~ $
erichuang1994 commented 6 years ago

Hit the same problem here.

erichuang1994 commented 6 years ago

See this issue https://github.com/tkellogg/Jump-Location/issues/60