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

使用@vant/area-data的数据编译出错 #16

Closed
MaZhaolin opened this issue Aug 7, 2024 · 6 comments
Closed

使用@vant/area-data的数据编译出错 #16

MaZhaolin opened this issue Aug 7, 2024 · 6 comments

Comments

@MaZhaolin
Copy link

https://github.com/youzan/vant/tree/main/packages/vant-area-data
image

@yangmingshan
Copy link
Member

你使用哪个版本的 create-vue-mini 创建的项目?尝试升级到最新版本试试

@yangmingshan yangmingshan transferred this issue from vue-mini/vue-mini Aug 7, 2024
@yangmingshan
Copy link
Member

create-vue-mini v1.2.2 已修复。

@MaZhaolin
Copy link
Author

我这个项目已经再开发中了,想问下怎么升级呢

@yangmingshan
Copy link
Member

@yangmingshan
Copy link
Member

yangmingshan commented Aug 21, 2024

这个问题的本质原因是 @vant/area-data 没有暴露出 package.json,我在 create-vue-mini v1.2.2 尝试做了兼容,但是会造成其他问题(#17),所以兼容已经在 create-vue-mini v1.2.3 被回退了。

这个问题应该推动 @vant/area-data 修改,我已经提交了 PR:youzan/vant#13074

参考:nodejs/node#33460

@yangmingshan
Copy link
Member

PR 已合并,请升级 @vant/area-data

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

2 participants