当我尝试通过以下命令安装asp.net时:
brew tap aspnet/dnx
brew update
brew install dnvm
但在运行最后一个命令后,我收到了错误:
==> Installing dnvm from aspnet/dnx
==> Cloning https://github.com/aspnet/Home.git
Cloning into '/Users/user/Library/Caches/Homebrew/dnvm--git'...
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 9 (delta 0), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (9/9), done.
==> Checking out branch dev
Error: No such file or directory - dnvm.sh
我的自制版:
Homebrew 1.1.12
Homebrew/homebrew-core (git revision 4b25; last commit 2017-04-05)
如何解决此错误?
答案 0 :(得分:0)
该公式依赖于git repo根目录中dnvm.sh
的存在,但该文件似乎不再存在。不幸的是,这个点击的作者不会解决这个问题,因为the repo deprecated。您应该使用get.asp.net中的their README中的Mac安装程序。