[tdesign-starter-cli] 最新版本(0.6.2)已经不支持node14,最低要求16,但是官网写的最低node12
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
👋 @lovelytan,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
♥️ 有劳 @uyarn @timi137137 尽快确认问题。 确认有效后将下一步计划和可能需要的时间回复给 @lovelytan 。
@uyarn 是更新过了什么组件吗,要不更新一下文档吧,确实现在12有点太旧了
得更新下文档~ 12有的依赖是不支持
得更新下文档~ 12有的依赖是不支持
晚上我来吧,现在在上课()