微信公开课
微信公开课小程序热门讨论关于「接入云函数报错」的小程序开发问题
补充:接入云函数报错,加入这两句后就报错constcloud=require(wxserversdk)cloudinit()错误信息Error:errCo
展开:加入这两句后就报错constcloud=require(wxserversdk)cloudinit()错误信息:Error:errCode:404011cloudfunctionexecutionerror|errMsg:cloudcallFunction:failrequestIDd671c9d9e7e311e8a25f52540064d067,cloudfunctionserviceerrorcode504002,errormessageInvalidorunexpectedtoken;atcloudcallFunctionapi;即速小程序:你创建部署没?:部署了的,部署后在云控制台点云函数测试也不行,去掉这两句后重新部署就可以,引入wxserversdk就会报这个:开发文档有写的,好像npm什么的:npminstall了的,把node依赖包上传发布的呢
更多有关「接入云函数报错」的讨论可以前往微信公开课小程序参与互动哦!了解更多