4***@qq.com
4***@qq.com
  • 发布:2024-04-26 15:41
  • 更新:2024-04-26 15:41
  • 阅读:43

求助,运行到浏览器正常,运行到真机报 ”Cannot create property“

分类:uni-app x

HBuilder X版本4.13.2024042321-alpha
Uni App X

15:31:21.616 项目 JqdlhUniAppX 开始编译
15:31:23.026 请注意运行模式下,因日志输出、sourcemap 以及未压缩源码等原因,性能和包体积,均不及发行模式。
15:31:23.051 编译器版本:4.13(uni-app x)
15:31:23.052 正在编译中...
15:31:32.426 Cannot create property 'code' on string 'load_transformed failed
15:31:32.426 Caused by:
15:31:32.426 0: Bundler.load() failed
15:31:32.426 1: Bundler.loader.load(D:\tmp\dcloud\JqdlhUniAppX\node_modules\@supabase\supabase-js\dist\module\SupabaseClient.js) failed
15:31:32.427 2:
15:31:32.427 x A type annotation is required on a return.
15:31:32.427 at ../../../../node_modules/@supabase/supabase-js/dist/module/SupabaseClient.js:4:1
15:31:32.427 1 | var awaiter = (this && this.awaiter) || function (thisArg, _arguments, P, generator) {
15:31:32.427 2 | function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
15:31:32.428 : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15:31:32.428 3 | return new (P || (P = Promise))(function (resolve, reject) {
15:31:32.428 4 | function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
15:31:32.428 5 | function rejected(value) { try { step(generator"throw"); } catch (e) { reject(e); } }
15:31:32.428 `----
15:31:32.428
15:31:32.428 3: Syntax Error'

2024-04-26 15:41 负责人:无 分享
已邀请:

要回复问题请先登录注册