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

请问,转换中进度卡住不动了,哪里能看到具体的错误日志吗? #40

Closed
xuzhijun opened this issue Jul 12, 2021 · 6 comments

Comments

@xuzhijun
Copy link

image
卡在243/833很久

@xuzhijun xuzhijun changed the title 请问,转换中进度开住不动了,哪里能看到具体的错误日志吗? 请问,转换中进度卡住不动了,哪里能看到具体的错误日志吗? Jul 12, 2021
@xuzhijun
Copy link
Author

image
会有一个node进程CPU占用99%

@bigfengyu
Copy link
Contributor

尝试升级一下 gogocode-cli 试试

npm install gogocode-cli -g

@wudi3
Copy link
Member

wudi3 commented Jul 19, 2021

超过200KB 的文件,转换的时候会很耗时。这些文件一般是lib库文件,可以选择不转换这些文件。

@Tonysmark
Copy link

同样的问题, 我也是卡住了, 并且一开始还有大量的报错
image
我用的是最新的 cli
Vue 版本是 2.6.12
项目中有 typescript 文件 typescript: 4.3.5
但是 vue 中没有用 lang="ts"

@wudi3
Copy link
Member

wudi3 commented Jul 30, 2021

升级gogocode-cli 至最新版本 0.2.18
转换时添加 -i 参数,即可看到当前转换的文件。
如果文件转换卡住了,可以进钉钉群找我们看下具体原因
命令行使用示例 :
gogocode -s ./src -t gogocode-plugin-vue -o ./src-out -i

@wudi3
Copy link
Member

wudi3 commented Aug 23, 2021

新版gogocode-cli 已修复

@wudi3 wudi3 closed this as completed Aug 23, 2021
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

4 participants