-
Notifications
You must be signed in to change notification settings - Fork 153
Description
问题描述
支付宝小程序开发者工具 Failed to compile
系统环境
- 出现问题的antmove版本:v1.2.13
- 没出现问题的antmove版本(如果有):
- 操作系统:macOS
- Node.js版本:v14.19.3
- 使用antmove命令行工具/vscode插件:npx antmove wx-alipay -i ./-o ./dist/alipay
- 转换类型(微信转支付宝等等):微信转支付宝
node命令执行时的报错
无报错
IDE运行时调试窗口报错
文件 (./app.js) 被定义为 app 类型,不允许被其他文件 import 导入
文件 (./components/card/index.js) 被定义为 component 类型,不允许被其他文件 import 导入
文件 (./pages/home/home.js) 被定义为 page 类型,不允许被其他文件 import 导入
文件 (./pages/index/index.js) 被定义为 page 类型,不允许被其他文件 import 导入
文件 (./pages/login/login.js) 被定义为 page 类型,不允许被其他文件 import 导入
文件 (./pages/my/my.js) 被定义为 page 类型,不允许被其他文件 import 导入
文件 (./pages/order/order.js) 被定义为 page 类型,不允许被其他文件 import 导入
文件 (./pages/service/service.js) 被定义为 page 类型,不允许被其他文件 import 导入
/Users/jiangrubin/Desktop/projects/mini-app/dist/alipay/pages/order/order.axml: Unexpected token (1:0)
/Users/jiangrubin/Desktop/projects/mini-app/dist/alipay/pages/my/my.axml: Unexpected token (1:0)
/Users/jiangrubin/Desktop/projects/mini-app/dist/alipay/__antmove/README.MD: Unexpected character '#' (1:0)