Skip to content
New issue

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

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

Already on GitHub? # to your account

Lodash-es导致构建错误(新更新的1.11.0导致) #5113

Closed
Justin3go opened this issue Feb 28, 2025 · 7 comments
Closed

Lodash-es导致构建错误(新更新的1.11.0导致) #5113

Justin3go opened this issue Feb 28, 2025 · 7 comments
Labels
🌍 Compatibility issue for compatibility to be published to be published

Comments

@Justin3go
Copy link

tdesign-vue-next 版本

1.11.0

重现链接

https://github.com/Justin3go/justin3go.com

重现步骤

将package.json中的"tdesign-vue-next": "1.9.5",改为"tdesign-vue-next": "^1.9.5",,然后pnpm i+pnpm docs:build即可复现该构建错误:

XXXX
var lodashEs = require('lodash-es');
XXXX

应该新版本中那个重构lodash-es那里导致的,不知道其他人有这个问题没

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @Justin3go,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@liweijie0812
Copy link
Collaborator

试了正常,给你仓库补了个CI,你可以运行看看

@Justin3go
Copy link
Author

试了正常,给你仓库补了个CI,你可以运行看看

感谢回复以及相关的工作,我去试试!

@Justin3go
Copy link
Author

试了正常,给你仓库补了个CI,你可以运行看看

还是不行,本地和生产环境(CloudFlare)都试过了,本地是Node 20,生产是Node 18,同样的报错:

Image

@uyarn uyarn reopened this Feb 28, 2025
@uyarn uyarn added 🌍 Compatibility issue for compatibility to be published to be published labels Feb 28, 2025
@uyarn uyarn mentioned this issue Feb 28, 2025
16 tasks
@uyarn
Copy link
Collaborator

uyarn commented Feb 28, 2025

麻烦可以试试1.11.1-alpha.1确认是否正常 下午会发1.11.1

@Justin3go
Copy link
Author

麻烦可以试试1.11.1-alpha.1确认是否正常 下午会发1.11.1

这个版本没问题

@uyarn
Copy link
Collaborator

uyarn commented Mar 1, 2025

fixed 1.11.1

@uyarn uyarn closed this as completed Mar 1, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🌍 Compatibility issue for compatibility to be published to be published
Projects
None yet
Development

No branches or pull requests

3 participants