【发布时间】: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”变量。
如果您了解接下来要解决的问题,我们将不胜感激
更新:
在命令中
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