我正在使用Ubuntu 16.04,在安装Vapor工具箱的指南中遇到了问题。按照指南中的说明,我使用了swiftenv,并安装了Ubuntu 15.10版本的Swift,但尝试安装工具箱时出现以下错误:
$ curl -sL toolbox.vapor.sh | bash
✅ Compatible
Downloading...
Compiling...
<unknown>:0: error: build had 1 command failures
error: exit(1): /home/william/.swiftenv/versions/DEVELOPMENT-SNAPSHOT-2016-09-06-a/usr/bin/swift-build-tool -f /home/william/workspace/.vapor-toolbox-0.10.2/vapor-toolbox/.build/release.yaml
Installing...
bash: line 24: .build/release/Executable: No such file or directory
Use vapor --help and vapor <command> --help to learn more.
尝试使用“vapor”会产生以下结果:
$ vapor
vapor: command not found