分享 推播通知
目前身份: 訪客

laravel/installer已經裝好了

這時我要執行「laravel」指令,卻跟我說無此指令

 

xx@xx:/test2$ laravel
laravel:無此指令

 

我去搜尋了「laravel:not found command」找到一些資料

 

Ubuntu的解法是,只要下這個指令,就可以讓他們連接上

 

xx@:/test2$ export PATH="~/.composer/vendor/bin:$PATH"
xx@:/test2$

 

這時再輸入「laravel」指令,就成功了

xx@xx:/test2$ laravel
Laravel Installer 2.0.1

Usage:
  command [options] [arguments]

Options:
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  help  Displays help for a command
  list  Lists commands
  new   Create a new Laravel application.

 

 

2
T.E的Laravel 發表在 留言 (0) 人氣 (524)
Laravel 學習
分享給朋友
網址

想對外分享這則貼文嗎?運用網址更方便呦~

T.E的Laravel

關於
專門記錄學習Laravel的過程與經歷,與突破困難點時的解決方法,和專家的經驗分享、各種知識點,整個學習Laravel的過程,就是自我提昇能力的過程。
貼文分類
最新貼文
誰來我家
  • 06-05  訪客(40.77.167.*)
  • 06-05  訪客(185.191.171.*)
  • 06-05  訪客(185.191.171.*)
  • 06-05  訪客(44.192.92.*)
OnceHit© 2023
載入中...