Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app下不能添加组件 #151

Closed
CarryKiana opened this issue Jun 23, 2022 · 6 comments
Closed

app下不能添加组件 #151

CarryKiana opened this issue Jun 23, 2022 · 6 comments

Comments

@CarryKiana
Copy link

无论是根据hellowworld文档写出来的代码,还是复制教程代码(https://github.com/jia000/tmagic-tutorial)运行,点击组件的时候都报以下错误:
Uncaught (in promise) Error: app下不能添加组件
at Editor$1.add (editor.ts:297:13)
at async doAction (BaseService.ts:53:28)
add @ editor.ts:297

@jia000
Copy link
Collaborator

jia000 commented Jun 24, 2022

直接运行tmagic-turorial也报这个错误?

@isensen
Copy link
Contributor

isensen commented Jun 27, 2022

@CarryKiana 你是按照教程代码来的是吧?安装后的默认版本我记得是rc6, 你把版本换成rc13试一下

@CarryKiana
Copy link
Author

@CarryKiana 你是按照教程代码来的是吧?安装后的默认版本我记得是rc6, 你把版本换成rc13试一下

好的,我试一下

@CarryKiana
Copy link
Author

直接运行tmagic-turorial也报这个错误?

没运行过,我试试

@CarryKiana
Copy link
Author

@CarryKiana 你是按照教程代码来的是吧?安装后的默认版本我记得是rc6, 你把版本换成rc13试一下

确认是版本的问题,更换后添加组件没有报错

@CarryKiana
Copy link
Author

直接运行tmagic-turorial也报这个错误?

确认是版本的问题,更换后添加组件没有报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants