【发布时间】:2021-08-03 05:04:30
【问题描述】:
我目前正在尝试通过“Clojure for the Brave and True”(in particular, trying to set it up)工作,但遇到了一些麻烦。我在 Windows 10 上,所以我根据the website 上的说明安装了 Leiningen,但 lein 命令只能在我安装它的桌面上工作,而不是在位于 on 的实际项目文件夹中桌面(导航到实际文件夹不允许我运行它;在桌面上使用 lein run 只会导致错误“No :main namespace specified in project.clj.”
我在安装 leiningen 时做错了吗?
【问题讨论】:
-
我发现在 Windows 上工作是最简单的,如果你先安装 Git Bash 然后在那个环境中工作:git-scm.com/download/win 然后你可以克隆这个模板项目并编辑测试文件以开始:github.com/io-tupelo/clj-template
标签: installation clojure leiningen