Figwheel无法在Windows7的试剂项目中启动

时间:2018-12-06 19:35:42

标签: java maven clojure leiningen 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


更新:
根据命令

  

使用新的figwheel-main应用程序---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.

1 个答案:

答案 0 :(得分:0)

这是我愚蠢的错误。我确定我的笔记本电脑上有curl和wget工具,但没有。因此,在将它们安装到Window7上之后,我便有了所需的东西。