Laravel代客将无法安装

时间:2019-08-14 12:14:23

标签: laravel-5 installation laravel-valet valet

我在代客方面遇到了一些问题。我已经用了一段时间了。不,我喜欢重新安装代客。但是我没有安装它。

这是我以前所做的(需要帮助)Error installing php 71 with homebrew on my mac

此后,我开始执行自制程序: 酿造清单:

brew list

apr     c-ares      glib        libev       libpq       mysql       python      webp
apr-util    curl-openssl    gmp     libevent    libsodium   nghttp2     readline    xz
argon2      freetds     icu4c       libffi      libssh2     openldap    rtmpdump
aspell      freetype    jansson     libidn      libtiff     openssl     sqlite
autoconf    gdbm        jemalloc    libmetalink libtool     pcre        tidy-html5
brotli      gettext     jpeg        libpng      libzip      php     unixodbc

接下来我做了:

composer global require laravel/valet

结果如下:

MacBook-Pro:applications [user]$ composer global require laravel/valet
Changed current directory to /Users/[user]/.composer
Using version ^2.3 for laravel/valet
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing laravel/valet (v2.3.3): Downloading (100%)
Generating autoload files

似乎他将目录更改为/Users/[user]/.composer 我不知道为什么。

但是当我尝试安装时,出现以下错误:

MacBook-Pro:applications [user]$ valet install
-bash: valet: command not found

我是新来的,但认为这与我的道路有关:

这是我目前在vim ~/.zshrc中拥有的

export PATH=$HOME/bin:/usr/local/bin:~/.composer/vendor/bin:/users/[user]/.composer/vendor/bin:$PATH

最后,我喜欢安装代客泊车。不,它对valet install不起作用。帮助会很棒。预先感谢。

0 个答案:

没有答案