You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在taro build --type=quickapp转换成功之后,在快应用IDE中预览会报错
Error: Attribute 'name' of the imported component must not use the reserved character: audio
Error: The file name must not contain reserved character: audio
报错信息
Error: Attribute 'name' of the imported component must not use the reserved character: audio
Error: The file name must not contain reserved character: audio
问题描述
在taro build --type=quickapp转换成功之后,在快应用IDE中预览会报错 Error: Attribute 'name' of the imported component must not use the reserved character: audio Error: The file name must not contain reserved character: audioTaro的TSX文件写法如下:
复现步骤
1.编写正常的taro代码
2.执行taro build --type=quickapp
3.在快应用IDE中预览
期望行为
正常显示Audio组件
报错信息
Error: Attribute 'name' of the imported component must not use the reserved character: audio
Error: The file name must not contain reserved character: audio
系统信息
操作系统: Windows 10
Taro 版本 v1.3.15
Node.js 版本 v12.7.0
报错平台 weapp
补充信息
通过代码分析发现component-qa包中快应用audio的组件命名和快应用编译器的限制冲突了,因为快应用以后会支持audio组件,所以audio属于保留字,直接报错了
The text was updated successfully, but these errors were encountered: