Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/elixir/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google cloud platform 使用Goth get token google cloud时出错_Google Cloud Platform_Elixir_Token_Google Cloud Storage - Fatal编程技术网

Google cloud platform 使用Goth get token google cloud时出错

Google cloud platform 使用Goth get token google cloud时出错,google-cloud-platform,elixir,token,google-cloud-storage,Google Cloud Platform,Elixir,Token,Google Cloud Storage,我正在使用{:ok,goth}=goth.Token.for_scope(“”) 但我看到一只虫子。请帮帮我 **(退出)引发了一个异常: **(UndefinedFunctionError)函数:crypto.mpint/1未定义或为私有 (加密):crypto.mpint(19687873431742193920055970243130294467124206658682087298983794038798216955530975915146333586732314900700035611

我正在使用{:ok,goth}=goth.Token.for_scope(“”) 但我看到一只虫子。请帮帮我


**(退出)引发了一个异常:
**(UndefinedFunctionError)函数:crypto.mpint/1未定义或为私有

(加密):crypto.mpint(19687873431742193920055970243130294467124206658682087298983794038798216955530975915146333586732314900700035611611045789143545904247799428447896803420118324471667046274052296120024954651561469080093219328190691149886440049200669636272584661976356321702914680136369124759272732574776698998044554776915282967732669956832401458331945711479325049514685797410840542208523089896590986235120222095570675226125560522026179882816977851505433864383972624362893774956738669017687990725035030542706539434148824251987312659383648295704127681204473207295376320651645980971185202320992998884262991006767805018245431366563316696488933)

请检查您是否正在使用Goth 0.6.0或更高版本,以便json\u web\u令牌将更新到其不依赖于
mpint/1
的最新版本

更详细的解释:

:crypto.mpint/1
在Erlang/OTP 20的最新版本中被删除,因为它在几个版本之前就被弃用了


Goth有一个名为json_web_token的依赖项,该依赖项一直使用到2017年年中。从那时起,版本0.2.10作为紧急修复程序发布,用于删除加密包中的
mpint/1
,您可以看到Goth在夏季也更新了此依赖项-。

您有erlang-c包吗是否安装rypto?