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

[tdesign-starter-cli] 版本v0.4.2 构建版本 下载模板失败 Error: end of central directory record signature not found #54

Closed
SSStq1314 opened this issue Jan 10, 2024 · 14 comments
Assignees

Comments

@SSStq1314
Copy link

tdesign-vue-starter 版本

v0.4.2

重现链接

No response

重现步骤

截屏2024-01-10 11 00 23

期望结果

No response

实际结果

No response

框架版本

PC【Vue2】模板

浏览器版本

No response

系统版本

macOS

Node版本

v20.10.0

补充说明

No response

Copy link
Contributor

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

Copy link
Contributor

github-actions bot commented Jan 10, 2024

♥️ 有劳 @uyarn 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @SSStq1314

@uyarn uyarn transferred this issue from Tencent/tdesign-vue-starter Jan 10, 2024
Copy link
Contributor

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

@timi137137
Copy link
Collaborator

@uyarn 错误似乎来自解压缩,但我不太确定

@SSStq1314
Copy link
Author

当我选择Lite版本的时候,可以正常下载模版创建项目,
截屏2024-01-10 15 23 04

@timi137137
Copy link
Collaborator

问题定位:
image
但对链接之类的进行测试发现似乎没有问题,题主再试一次也会这样吗?

@SSStq1314
Copy link
Author

是的,我刚刚又试过了两次,分别使用node 21和node 18,
还是报错返回:
❗错误:下载模板失败
❗错误信息: Error: end of central directory record signature not found
❗请尝试执行:git clone https://github.com/Tencent/tdesign-vue-next-starter.git 使用
executeDownload error == Error: end of central directory record signature not found
at /Users/shaotianqi/.nvm/versions/node/v20.10.0/lib/node_modules/tdesign-starter-cli/node_modules/yauzl/index.js:187:14
at /Users/shaotianqi/.nvm/versions/node/v20.10.0/lib/node_modules/tdesign-starter-cli/node_modules/yauzl/index.js:631:5
at Immediate. (/Users/shaotianqi/.nvm/versions/node/v20.10.0/lib/node_modules/tdesign-starter-cli/node_modules/fd-slicer/index.js:202:5)
at process.processImmediate (node:internal/timers:478:21)

@timi137137
Copy link
Collaborator

好的感谢题主,这边在特定尝试一下

@SSStq1314
Copy link
Author

SSStq1314 commented Jan 10, 2024

[捂脸][捂脸][捂脸],我想是因为我开了vpn的问题,我刚刚把vpn关了之后,成功了,
截屏2024-01-10 15 38 12

@timi137137
Copy link
Collaborator

你这....

@uyarn uyarn reopened this Jan 11, 2024
@uyarn
Copy link
Collaborator

uyarn commented Jan 11, 2024

reopen下 有VPN的场景确实有问题 (之前没有

@uyarn uyarn added the bug Something isn't working label Jan 11, 2024
@peterpanBest
Copy link

我也遇到了这个问题,一直不成功

@nosidedeng
Copy link

image
我也遇到同样问题,新环境
image

@uyarn
Copy link
Collaborator

uyarn commented Mar 13, 2024

这个问题我这两天反复确认 应该已经修复了 有需要可以再试试 如果还有问题可以重新打开issue

@uyarn uyarn closed this as completed Mar 13, 2024
@uyarn uyarn removed the bug Something isn't working label Mar 13, 2024
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

5 participants