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'
2 个回复
l***@163.com
哥们解决没,我也遇到这个问题了
DCloud_heavensoft
重新安装uni-app的编译插件