代码之家  ›  专栏  ›  技术社区  ›  Sim

加载模板时出错,请运行“flixel下载”。?

  •  2
  • Sim  · 技术社区  · 7 年前

    Error loading templates, please run 'flixel download'. 在windows pc上重新安装后。

    一切都是新安装的。

    我试过:

    enter image description here

    enter image description here

    enter image description here

    enter image description here

    enter image description here

    我不知道下一步该怎么办?

    1 回复  |  直到 7 年前
        1
  •  1
  •   Gama11 zzapper    7 年前

    运行时出现的错误 haxelib path flixel-templates 给出相关线索:

    错误:未安装库lime版本2.9.1

    确切地说,Flixel依赖于OpenFL和Lime-Lime 2.9.1的旧版本,因此存在错误。您可以通过运行以下两个命令来解决这个问题(回答“安装它?”提示yes):

    haxelib set lime 2.9.1
    haxelib set openfl 3.6.1
    

    请注意,如果您运行 haxelib install flixel ,它应该自动安装正确版本的Lime和OpenFL。也许你使用了不同的设置?


    更新: 我刚刚发布了flixel templates 2.4.5和flixel demos 2.4.3,这将在将来完全避免这个问题。

    推荐文章