收藏
回答

云函数payment提交失败,请问有谁遇到过没?

Error: cloud.callFunction:fail Error: errCode: -504002 functions execute fail | errMsg: Runtime.ImportModuleError: Error: Cannot find module 'tenpay'

Require stack:

- /var/user/index.js

- /var/runtime/node12/UserFunction.js

- /var/runtime/node12/Runtime.engine.js

- /var/runtime/node12/bootstrap.js

    at Object.module.exports.load (/var/runtime/node12/UserFunction.js:34:13)

    at Runtime.handleOnce (/var/runtime/node12/Runtime.engine.js:99:38)

    at Timeout._onTimeout (/var/runtime/node12/Runtime.engine.js:56:12)

    at listOnTimeout (internal/timers.js:549:17)

    at processTimers (internal/timers.js:492:7) (callId: 1675502445067-0.13511719903817654) (trace: 17:20:45 start->17:20:45 system error (Error: errCode: -504002 functions execute fail | errMsg: Runtime.ImportModuleError: Error: Cannot find module 'tenpay'

支付

回答关注问题邀请回答
收藏

2 个回答

  • showms
    showms
    2023-02-06

    tenpay这个模块没有安装

    2023-02-06
    有用
    回复
  • Mr.Zhao
    Mr.Zhao
    2023-02-04

    npm install tenpay?

    2023-02-04
    有用
    回复
登录 后发表内容