- 按照正常流程,上传自定义公共函数。
- 对应的云函数右键绑定对应的公共函数。
- 上传对应云函数。执行调用云函数。

3***@qq.com
- 发布:2025-03-02 12:15
- 更新:2025-03-03 11:37
- 阅读:39
产品分类: uniCloud/腾讯云
操作步骤:
预期结果:
调用云函数成功,不报错。
调用云函数成功,不报错。
实际结果:
报错Cannot find module 'error-codes'
报错Cannot find module 'error-codes'
bug描述:
引用公共函数失败,一直报错Cannot find module 'error-codes',但是公共函数已上传部署。
具体内容参考图片。



