今天用cloud base console去模拟调用云函数一直报错。之前都没有问题。
{
"errorCode": -1,
"errorMessage": "Runtime.UserCodeSyntaxError: SyntaxError: Unexpected identifier\n at Object.module.exports.load (/var/runtime/node10/UserFunction.js:33:13)\n at Runtime.handleOnce (/var/runtime/node10/Runtime.engine.js:95:38)\n at Timeout.setTimeout [as _onTimeout] (/var/runtime/node10/Runtime.engine.js:54:12)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)",
"statusCode": 443
}