antd5源码调试环境启动(MacOS)

将源码下载至本地

这里antd5 版本是5.8.3

bash 复制代码
$ git clone git@github.com:ant-design/ant-design.git
$ cd ant-design
$ npm install
$ npm start

前提:安装python3、node版本18.14.0(这是本人当前下载的版本)

python3安装教程可参考:https://blog.csdn.net/weixin_40119412/article/details/132368672?spm=1001.2014.3001.5501

安装依赖

bash 复制代码
npm install

发现会提示错误

根据提示执行安装shape

bash 复制代码
npm install shape

重新安装依赖

bash 复制代码
npm install

启动项目

bash 复制代码
npm start
相关推荐
*愿风载尘*5 小时前
SecureCRT连接密钥交换失败
linux·macos
mCell14 小时前
从删库到跑路?这50个Linux命令能保你职业生涯
linux·windows·macos
fhf1 天前
2025年了你会卸载Macbook上的应用吗?
macos·shell
归辞...1 天前
「iOS」——内存五大分区
macos·ios·cocoa
穆雄雄1 天前
备份一下我的 mac mini 的环境变量配置情况
macos
秃然想通2 天前
mac电脑搭载c、c++环境(基于vs code)
macos
归辞...2 天前
「iOS」——GCD其他方法详解
macos·ios·cocoa
啊啊啊~~2 天前
新mac电脑软件安装指南(前端开发用)
macos·node·n·oh my zsh·solarized
lm down2 天前
ComfyUI中运行Wan 2.1工作流,电影级视频,兼容Mac, Windows
人工智能·macos·ai作画·视频
天安彩2 天前
mac下 vscode 运行 c++无法弹出窗口
c++·vscode·macos·clang