【问题标题】:figwheel doesn't start in reagent project on windows7figwheel 没有在 windows7 上的试剂项目中启动
【发布时间】:2019-05-08 13:35:13
【问题描述】:

我正在尝试为试剂项目运行 figwheel:

lein 新试剂应用程序
cd 应用程序
lein figwheel

之后我收到以下输出:

Could not transfer artifact org.apache.commons:commons-compress:pom:1.3 from/to central (https://repo1.maven.org/maven2/): Received fatal alert: protocol_version
Could not transfer artifact com.yahoo.platform.yui:yuicompressor:pom:2.4.7 from/to central (https://repo1.maven.org/maven2/): Received fatal alert: protocol_version
Could not transfer artifact com.google.javascript:closure-compiler:pom:v20141120 from/to central (https://repo1.maven.org/maven2/): Received fatal alert: protocol_version<br>
Could not transfer artifact commons-io:commons-io:pom:2.4 from/to central (https://repo1.maven.org/maven2/): Received fatal alert: protocol_version
Could not transfer artifact org.clojure:core.async:pom:0.1.338.0-5c5012-alpha from/to central (https://repo1.maven.org/maven2/): Received fatal alert: protocol_version<br>
This could be due to a typo in :dependencies or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.<br>

我不知道接下来如何处理这个问题。我检查了环境变量,但没有任何“http_proxy”变量。
如果您了解接下来要解决的问题,我们将不胜感激

https://youtu.be/rAcaJG8OeKw


更新:
在命令中

lein new figwheel-main app -- --reagent

我收到

 Failed to resolve version for figwheel-main:lein-template:jar:RELEASE: Could not find metadata figwheel-main:lein-template/maven-metadata.xml in local (C:\Users\user\.m2\repository
)
Failed to resolve version for figwheel-main:lein-template:jar:RELEASE: Could not find metadata figwheel-main:lein-template/maven-metadata.xml in local (C:\Users\user\.m2\repository
)
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
Could not find template figwheel-main on the classpath.

【问题讨论】:

  • 我似乎记得最近即使在 linux 上也遇到了库存试剂模板的问题。我已经改用无花果模板lein new figwheel-main app -- --reagent,但这可能不是你的问题。不幸的是,我没有方便测试的 Windows 安装。

标签: java maven clojure leiningen figwheel


【解决方案1】:

这是我的愚蠢错误。我确信我的笔记本电脑上有 curl 和 wget 工具,但我没有。所以,在我的 Window7 上安装它们之后,我得到了我想要的一切。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-10-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-07-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多