Jump-Location icon indicating copy to clipboard operation
Jump-Location copied to clipboard

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

Open artkpv opened this issue 8 years ago • 2 comments

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
~ $

artkpv avatar Oct 02 '17 18:10 artkpv

Hit the same problem here.

erichuang1994 avatar Oct 27 '17 07:10 erichuang1994

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

erichuang1994 avatar Nov 22 '17 07:11 erichuang1994