【发布时间】:2020-07-14 01:57:35
【问题描述】:
问题:我无法使用 Haxe 安装任何库。 目的:我想安装 HaxeFlixel。
(注意:我是使用命令提示符安装文件的新手,它是以管理员身份运行的)。
我已经安装了 haxe 4.0.2(带有 neko),位于 C:\HaxeToolkit(似乎是 Haxe 3.4.0)。
> haxelib 返回使用信息选项。
> haxelib install all 返回,
No hxml files found in the current directory。好像我缺少文件。
> haxelib install flixel 返回
Error: Failed with error: X509 - Certificate verification failed, e.g. CRL, CA or signature check failed.
我还尝试安装与特定版本的 Flixel 兼容的不同版本的 Haxe。不幸的是,出现了同样的错误等等。
- 下载了 Flixel 4.6.3(haxelib.json 文件中写着
"releasenote": "Compatibility with Haxe 4.0.0-rc.3")。 - 卸载 Haxe 4.0.2 并下载并安装 Haxe 4.0.0-rc.3(似乎又是 Haxe 3.4.0)
- 将 Flixel 文件夹放置在 HaxeToolkit\haxe 中。
-
> haxelib install flixel返回
Error: haxelib Repository C:/WINDOWS/system32/flixel does not exist. Please run `haxelib setup` again.
Called from haxelib/client/Main.hx line 1149
Called from haxelib/client/Main.hx line 1143
Called from haxelib/client/Main.hx line 1672
Called from haxelib/client/Main.hx line 467
> haxelib setup 返回
Please enter haxelib repository path with write access
> C:/WINDOWS/HaxeToolkit 返回
haxelib repository is now C:\WINDOWS\HaxeToolkit
> haxelib install flixel 返回
Error: X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
Called from haxe/remoting/HttpConnection.hx line 63
Called from C:\projects\haxe\std/sys/Http.hx line 58
Called from C:\projects\haxe\std/sys/Http.hx line 245
Called from C:\projects\haxe\std/sys/Http.hx line 60
Called from haxe/remoting/HttpConnection.hx line 64
Called from haxelib/client/Main.hx line 51
Called from haxelib/client/Main.hx line 721
Called from haxelib/client/Main.hx line 470
再次没有安装 flixel。
感谢任何帮助澄清可能出现的问题。
【问题讨论】:
-
这些步骤解决了我的问题: 1. 下载 Haxe haxe.org/download 并安装到 C:\Dev\。 2. 将 Flixel lib.haxe.org/p/flixel 下载到下载。 3. 将cmd目录切换到Downloads
>cd C:\Users\User\Downloads。 4. 安装 Flixel zip>haxelib install "flixel-4,6,3.zip"。完成。
标签: windows-10 installation command-prompt haxe haxeflixel