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

find template 转换报错 #234

Open
xujiujiu opened this issue Jul 25, 2023 · 0 comments
Open

find template 转换报错 #234

xujiujiu opened this issue Jul 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@xujiujiu
Copy link

xujiujiu commented Jul 25, 2023

定位发现 GoGoCode PlayGround 平台上是使用的umd版本,且切换到1.0.53版本以及之前的版本没有该问题
考虑到可能是依赖的版本问题,本地项目中将gogocode的插件依赖锁版本,最后一个个试了之后使用1.0.53 版本的gogocode 配上以下的版本的插件能解决上面花括号转换问题

{
    "glob": "7.1.6",
    "hyntax-yx": "1.0.3",
    "indent-string": "4.0.0",
    "recast-yx": "0.18.12",
    "vue3-browser-compiler-yx": "1.0.1"
}

最终定位影响的依赖为 ”hyntax-yx“,目前不锁版本的情况默认安装的1.0.9 存在问题,最新版本1.0.55 版本的gogocode 可只锁版本到1.0.8来解决,

{
"hyntax-yx": "1.0.8",
}

#229 #214 #223

强烈建议发布版本的时候锁下依赖版本和子版本,就多发一个lock就能解决问题,又不多花多少时间,这个问题定位花了我1天半的时间 😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant