收藏
回答

kbone+云开发,初始化时报错:missing appid.?

cloud init error:  Error: missing appid

    at cloud.js:16

    at cloud.js:16

    at Object.next (cloud.js:16)

    at cloud.js:16

    at new Promise (<anonymous>)

    at a (cloud.js:16)

    at Object._operateWXData (cloud.js:16)

    at cloud.js:16

    at new Promise (<anonymous>)

    at s (cloud.js:16)

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

1 个回答

  • 吴秀刚
    吴秀刚
    11-09
    const a = new cloud.Cloud({
      identityless: true,
      resourceAppid: '小程序 AppID',
      resourceEnv: 'a',
    })
    

    将视频中使用的: this.wxcloud = cloud , 替换为上述的形式后(注意,一定要加 identiless: true)后,即可编译通过.

    11-09
    有用
    回复
登录 后发表内容
问题标签