lando - 兰多在一台电脑上工作,而不是另一台
问题描述
当我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
我完全迷路了。有人可以帮忙吗?
解决方案
推荐阅读
- postgresql - 我应该在 citus 部署中选择哪种架构
- javascript - 如何访问元素的cssText?
- docker - Docker 注册表映像 - 持久性
- javascript - 为什么服务器发送的事件每 3 秒启动一次?
- asp.net - ASP.NET Core 中的异步延续在哪里排队?
- sql - 聚合和团体预订
- powershell - LastWriteTime 未排序为 DateTime
- r - r:使用 lm 和 ggplot2 生成拟合图与实际图
- c# - 调用目标(MethodBase.Invoke 方法)抛出了错误异常
- java - 需要我的二维数组来打印,但它只在输出框中显示一个点