Laravel 错误: [符号\组件\进程\异常\运行时异常] 进程已使用信号“4”发出信号

我正在尝试使用命令php工匠拉或推,这给了我以下错误:


zsh: illegal hardware instruction php artisan cms:pull

我还尝试在我的拉拉维尔项目中运行作曲家更新,并得到以下错误:


post-autoload-dump: Illuminate\Foundation\ComposerScripts::postAutoloadDump post-autoload-dump: @php artisan package:discover




Executing command (CWD): '/usr/local/Cellar/php/7.4.2/bin/php' -d allow_url_fopen='1' -d disable_functions='' -d memory_limit='1536M' artisan package:discover


[Symfony\Component\Process\Exception\RuntimeException] The process has been signaled with signal "4".


Exception trace: () at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/vendor/symfony/process/Process.php:366 Symfony\Component\Process\Process->wait() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/vendor/symfony/process/Process.php:198 Symfony\Component\Process\Process->run() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/src/Composer/Util/ProcessExecutor.php:75 Composer\Util\ProcessExecutor->execute() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:257 Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:96 Composer\EventDispatcher\EventDispatcher->dispatchScript() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:313 Composer\Autoload\AutoloadGenerator->dump() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/src/Composer/Installer.php:304 Composer\Installer->run() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/src/Composer/Command/UpdateCommand.php:163 Composer\Command\UpdateCommand->execute() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/vendor/symfony/console/Command/Command.php:245 Symfony\Component\Console\Command\Command->run() at 

我已经通过以下教程更改了我的memory_limit。


https://www.remcotolsma.nl/2015/01/homebrew-php-memory-limit-verhogen-voor-composer/


我没有做任何区别


我使用的是带有MacOS卡塔利娜版本10.15.3和16 GB内存的Macbook Pro


湖上湖
浏览 300回答 2
2回答

泛舟湖上清波郎朗

重新安装作曲家并重新启动我的电脑解决了这个问题!

天涯尽头无女友

我无法摆脱这个问题,所以我用Macbook中的所有文件进行了备份。我删除了我的硬盘,并做了一个干净的macos安装。重新安装所有内容后(自制,mysql,php,流浪汉等)我打开我的项目尝试了上面的命令,一切正常。
打开App,查看更多内容
随时随地看视频慕课网APP