我正在尝试使用命令php工匠拉或推,这给了我以下错误:zsh: illegal hardware instruction php artisan cms:pull我还尝试在我的拉拉维尔项目中运行作曲家更新,并得到以下错误:post-autoload-dump: Illuminate\Foundation\ComposerScripts::postAutoloadDump post-autoload-dump: @php artisan package:discoverExecuting 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
- 2 回答
- 0 关注
- 299 浏览
添加回答
举报
0/150
提交
取消