TencentCloudBase / cloudbase-js-sdk

Cloudbase 云开发 JavaScript SDK
https://www.cloudbase.net/
47 stars 13 forks source link

无法在小程序端构建 npm 后运行 #4

Closed chwan97 closed 2 years ago

chwan97 commented 3 years ago
        try {
            regeneratorRuntime = r
        } catch (e) {
            Function("r", "regeneratorRuntime = r")(r)
        }
    }
appservice?t=1607953778618:1248 miniprogram_npm/@cloudbase/js-sdk/index.js:
 TypeError: Function(...) is not a function
    at Object.<anonymous> (index.js:formatted:1)
    at n (index.js:formatted:1)
    at Object.<anonymous> (index.js:formatted:1)
    at n (index.js:formatted:1)
    at index.js:formatted:1
    at index.js:formatted:1
    at index.js:formatted:19224
    at index.js:formatted:1
    at wrapFn (appservice?t=1607953778618:1241)
    at require (WAService.js:1)
Mrjing commented 3 years ago

调整下IDE里的编译设置,开启编译JS5试下`