真机运行报错,怎么解决呀
[云函数:DCloud-clientDB] 运行日志:
18:25:13.781 Cannot find module '/tmp/function/@common_modules/uni-cloud-redis'
18:25:13.812 Error: Cannot find module '/tmp/function/@common_modules/uni-cloud-redis'
18:25:13.844 at Module._resolveFilename (module.js:548:15)
18:25:13.875 at Module._load (module.js:475:25)
18:25:13.906 at Module.require (module.js:597:17)
18:25:13.937 at require (internal/module.js:11:18)
18:25:13.968 at Object.keys.forEach.t (/tmp/function/index.js:1:2913)
18:25:14.000 at forEach (null:null:null)
18:25:14.031 at (/tmp/function/index.js:1:2873)
18:25:14.062 at i (/tmp/function/index.js:1:2943)
18:25:14.093 at p (/tmp/function/index.js:1:3565)
18:25:14.124 at runUserFunction (/code/index.js:118:207833)
1***@qq.com
- 发布:2022-05-12 18:27
- 更新:2022-05-12 18:27
- 阅读:321
0 个回复