weijiajia
weijiajia
  How to map local code to /var/www/html in container ?  I try to add './backend-server:/var/www/html' in backend-server volumes, but the openchat-backend-server container keeps restarting and reporting error...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior colab 文件运行环境 ### Expected Behavior _No response_ ### Steps To Reproduce...
### 在本地使用docker 搭建的环境可以运行吗? ### 构建坏境 ```bash docker run -ti --volume="$(pwd)":/wechaty --rm node:16 /bin/bash ``` ### 使用的版本:  ### 测试代码  ### 运行报错  ### 网络检查 
Hyperf 框架中使用分表时关联关系查询报错的问题 求助问题已经发布到社区了,有什么好的解决办法嘛? https://learnku.com/laravel/t/86535
 这里是一对多的关系,放回的类型是不是有点问题,应该是Collection
### 1. 在 PHP 8.2.x 中,要求方法的返回类型必须与接口或父类中定义的返回类型一致,因此在 think\migration\Factory 类中的 offsetExists 方法中显式指定返回类型。这样可以确保方法的返回类型与 ArrayAccess 接口的要求一致  在 think\migration\Factory 类中 修改  ### 2. fzaninotto/faker 扩展包已经停止更新了并且不支持 php8.x ,建议可以使用 [akerphp/faker](https://packagist.org/packages/fakerphp/) 希望能修复这个问题,现在我是在本地直接修改扩展包代码,另外我也想贡献我的代码,是直接fock 然后修改提交嘛?
Fatal error: Trait "Hyperf\Utils\InteractsWithTime" not found in /opt/www/vendor/lysice/hyperf-redis-lock/src/Lock.php on line 8
## 📚 Documentation (A clear and concise description of what the issue is.)
### Version Command-line (Python) version ### Operating System Windows 11 ### Your question Instructions mention Docker/Docker Compose...but where is it? 😂