Failed to compile
Module build failed (from C:/snapshot/code-repo/out/target/bundle/node_modules/@ali/antcube-thread-loader/lib/cjs.js):
Thread Loader (Worker 0)
SyntaxError: f:/git/plant-ai-web/unpackage/dist/dev/mp-alipay/pages/my/index.axml: Unexpected token (26:7)
24 | const UPopup_ = $getComponentClass("/uview-ui/components/u-popup/u-popup")
25 | const UPopup = UPopup_ || $EmptyComponentFactory("u-popup");
> 26 | const U-Image_ = $getComponentClass("/uview-ui/components/u--image/u--image")
| ^
27 | const U-Image = U-Image_ || $EmptyComponentFactory("u--image");
28 | import $iterate from "C:\\snapshot\\code-repo\\out\\target\\bundle\\node_modules\\@alipay\\rml-runtime\\es\\iterate";
29 | import $createRoot from "C:\\snapshot\\code-repo\\out\\target\\bundle\\node_modules\\@alipay\\rml-runtime\\es\\createRoot";
at transpile (C:\snapshot\code-repo\out\target\bundle\node_modules\babel-loader\lib\index.js:65:13)
at Object.<anonymous> (C:\snapshot\code-repo\out\target\bundle\node_modules\babel-loader\lib\index.js:173:20)
Module build failed (from C:/snapshot/code-repo/out/target/bundle/node_modules/@ali/antcube-thread-loader/lib/cjs.js):
Thread Loader (Worker 0)
SyntaxError: f:/git/plant-ai-web/unpackage/dist/dev/mp-alipay/pages/my/index.axml: Unexpected token (26:7)
24 | const UPopup_ = $getComponentClass("/uview-ui/components/u-popup/u-popup")
25 | const UPopup = UPopup_ || $EmptyComponentFactory("u-popup");
> 26 | const U-Image_ = $getComponentClass("/uview-ui/components/u--image/u--image")
| ^
27 | const U-Image = U-Image_ || $EmptyComponentFactory("u--image");
28 | import $iterate from "C:\\snapshot\\code-repo\\out\\target\\bundle\\node_modules\\@alipay\\rml-runtime\\es\\iterate";
29 | import $createRoot from "C:\\snapshot\\code-repo\\out\\target\\bundle\\node_modules\\@alipay\\rml-
- 发布:2022-07-06 18:05
- 更新:2022-10-26 11:51
- 阅读:1231
产品分类: uniapp/小程序/阿里
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 10
HBuilderX类型: 正式
HBuilderX版本号: 3.4.15
第三方开发者工具版本号: 3.0.2
基础库版本号: 2.0
项目创建方式: HBuilderX
示例代码:
操作步骤:
uniapp + uview 运行到支付宝开发工具
uniapp + uview 运行到支付宝开发工具
预期结果:
能打开页面均为正常
能打开页面均为正常
实际结果:
能打开页面均为正常
能打开页面均为正常
杰姆小生
请问下你这个问题解决了?
2022-08-30 11:42