首页 > 解决方案 > 兰多在一台电脑上工作,而不是另一台

问题描述

当我lando init从 platform.sh 中提取一个 Drupal 项目时,一切在我的 MacBook 上运行良好,但在我的 iMac 上同样有几个问题。我不知道发生了什么,但恕我直言,一切似乎都与'/tmp'目录有关。

我尝试使用 drush,我得到:

$ lando drush cr 
[preflight] Drush::$container is not initialized yet. \Drush::setContainer() must be called with a real container.

尝试再次安装 drush:

$ lando composer require drush/drush
PHP temp directory (/tmp) does not exist or is not writable to Composer. 

在媒体字段中上传图片

  // Ajax error in the console:
    Warning:  File upload error - unable to create a temporary file in Unknown on line 0

我完全迷路了。有人可以帮忙吗?

标签: landoplatform.sh

解决方案


推荐阅读