java - 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”变量。
如果您了解下一步要解决的问题,我将不胜感激
更新:
在命令
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.
解决方案
这是我的愚蠢错误。我确信我的笔记本电脑上有 curl 和 wget 工具,但我没有。所以,在我的 Window7 上安装它们之后,我得到了我想要的一切。
推荐阅读
- flutter - 'Latest' 中列出的较新版本在颤振中可能无法相互兼容
- installation - 在“pip install jupyterlab”期间出现关于找不到文件的 OSError。我怎样才能解决这个问题?
- vue.js - 如何使拖放组件成为ul的一部分
- ios - 是否可以在 React Native 中从 iOS 应用程序打开日期和时间设置
- c# - 是否可以在 DataGridView 中显示 2 个值?像 html 中的表格,例如“rowspan”?
- php - 如何使用 getMockBuilder() 为自定义服务实现 PHP UnitTest?
- asp.net-mvc - 避免在 http.sys 和 Windows 重新启动中未处理的系统线程异常
- reactjs - 麻烦样式化反应钩子形式
- python - InvalidArgumentError:没有注册 OpKernel 以支持 Op 'CudnnRNNV2'
- javascript - 如何在我的 React Native 代码上测试更改 UI 的异步操作