douxin1884 2016-01-18 14:43
浏览 43
已采纳

可以找出为什么laravel试图在mac os中运行apt-get

I am very new to Laravel and I have been assigned to work on a laravel app.

I installed composer and when i do composer install or composer update i see this in the terminal:

> php artisan optimize
  Generating optimized class loader
> php artisan test:setup
  sudo apt-get install -y xvfb firefox chromium-browser chromium-chromedriver
  Password:

I don't understand why it is running that command on my mac? How can i disable that?

  • 写回答

1条回答 默认 最新

  • dongwopu8210 2016-01-18 15:00
    关注

    You are running an artisan command test:setup. As far as i know that is not a standard laravel artisan command.

    Someone in that project probably made a custom command in the app/commands folder that installs those packages for you so you are able to run certain custom tests.

    If you want to remove it: Look inside the app/commands or search your project for a file like testCommand.php and disable the code.

    You can read more about artisan commands in the docs.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 CSS通配符清除内外边距为什么可以覆盖默认样式?
  • ¥15 SPSS分类模型实训题步骤
  • ¥15 求解决扩散模型代码问题
  • ¥15 工创大赛太阳能电动车项目零基础要学什么
  • ¥20 limma多组间分析最终p值只有一个
  • ¥15 nopCommerce开发问题
  • ¥15 torch.multiprocessing.spawn.ProcessExitedException: process 1 terminated with signal SIGKILL
  • ¥15 QuartusⅡ15.0编译项目后,output_files中的.jdi、.sld、.sof不更新怎么解决
  • ¥15 pycharm输出和导师的一样,但是标红
  • ¥15 想问问富文本拿到的html怎么转成docx的