看相似的问题的帖子,要云端安装依赖就解决了,但是我云端安装依赖我都安装爆了,一直报这个问题。
Error: cloud.callFunction:fail -404011 cloud function execution error. 云函数执行错误
云端堆栈信息(error stack)(requestId d70b4303-af12-11eb-8085-525400cfdf74, callid 1620378101362-0.6922813382109865):
Runtime.ImportModuleError: Error: Cannot find module 'tcb-router'
at Object.module.exports.load (:28061/var/runtime/node10/UserFunction.js:35)
at Runtime.handleOnce (:28061/var/runtime/node10/Runtime.engine.js:97)
at Timeout.setTimeout [as _onTimeout] (:28061/var/runtime/node10/Runtime.engine.js:54)
at ontimeout (:28061/appservice/timers.js:436)
at tryOnTimeout (:28061/appservice/timers.js:300)
at listOnTimeout (:28061/appservice/timers.js:263)
at Timer.processTimers (:28061/appservice/timers.js:223)
亮代码,亮package,json