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] 最新版本(0.6.2)已经不支持node14,最低要求16,但是官网写的最低node12 #278

Open
lovelytan opened this issue Sep 15, 2023 · 5 comments
Assignees

Comments

@lovelytan
Copy link

lovelytan commented Sep 15, 2023

tdesign-vue-starter 版本

0.6.2

重现链接

No response

重现步骤

1、使用node14.20.0安装脚手架,报错
2、使用node16安装脚手架,成功;
3、初始化vue3工程,使用vite构建
4、切换到node14.20.0安装依赖,lite版本成功并运行;完整版安装依赖报错,多个依赖要求16或18

➜  fe-monitor git:(dev) ✗ sudo yarn add tdesign-starter-cli -g
yarn add v1.22.19
info No lockfile found.
[1/4] 🔍  Resolving packages...
warning tdesign-starter-cli > @types/[email protected]: This is a stub types definition for chalk (https://github.com/chalk/chalk). chalk provides its own type definitions, so you don't need @types/chalk installed!
warning tdesign-starter-cli > @types/[email protected]: This is a stub types definition for commander (https://github.com/tj/commander.js). commander provides its own type definitions, so you don't need @types/commander installed!
[2/4] 🚚  Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=16". Got "14.20.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
➜  fe-monitor git:(dev) ✗ sudo yarn remove tdesign-starter-cli -g
yarn remove v1.22.19
error No lockfile in this directory. Run `yarn install` to generate one.
info Visit https://yarnpkg.com/en/docs/cli/remove for documentation about this command

期望结果

希望支持v14

实际结果

无论是tdesign-vue-starter脚手架,还是使用16版本初始化后的完整版工程,都不支持node14

本次使用的node版本是[email protected]

框架版本

0.6.2

浏览器版本

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

系统版本

No response

Node版本

14.20.0

补充说明

No response

@github-actions
Copy link

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

@github-actions
Copy link

github-actions bot commented Sep 15, 2023

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

@timi137137
Copy link
Collaborator

@uyarn 是更新过了什么组件吗,要不更新一下文档吧,确实现在12有点太旧了

@uyarn
Copy link
Collaborator

uyarn commented Sep 15, 2023

得更新下文档~ 12有的依赖是不支持

@timi137137
Copy link
Collaborator

得更新下文档~ 12有的依赖是不支持

晚上我来吧,现在在上课()

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

3 participants