首页 > 解决方案 > figwheel 没有在 windows7 上的试剂项目中启动

问题描述

我正在尝试为试剂项目运行无花果:

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.

标签: javamavenclojureleiningenfigwheel

解决方案


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


推荐阅读