Skip to content

Commit 2c47f70

Browse files
committed
fix: 更新README
1 parent dc0a8a8 commit 2c47f70

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,11 +373,11 @@ npm config delete https-proxy
373373

374374
### 8.1、准备环境
375375

376-
#### 1)安装 `nodejs`
376+
1. 安装 `nodejs`
377377

378378
推荐安装 nodejs `22.x.x` 的版本,其他版本未做测试
379379

380-
#### 2)安装 `pnpm`
380+
2. 安装 `pnpm`
381381

382382
运行如下命令即可安装所需依赖:
383383

@@ -386,6 +386,16 @@ npm install -g pnpm --registry=https://registry.npmmirror.com
386386

387387
```
388388

389+
3. 安装 `git`, `Python3`
390+
391+
请根据你的操作系统,安装好 `git``python3` 环境并添加到环境变量。
392+
393+
**Windows用户请注意**,Windows系统自带一个占位用的Python.exe别名,用以在必要时下载Microsoft Store中的Python应用;该python.exe不能完成实际的Python运行。建议在设置-应用-高级应用设置-应用执行别名中关闭【应用安装程序-python.exe】与【应用安装程序-python3.exe】,然后手动安装Python,避免冲突。必要时可使用`where.exe python`命令确认python.exe的路径,形如`C:\Users\Nobody\AppData\Local\Microsoft\WindowsApps\python.exe`的即为虚假占位文件。
394+
395+
4. (对于Windows)安装Visual Studio MSVC Build Tools
396+
397+
**注意截止目前(2025年12月28日),node-gyp对Visual Studio 2025/18的支持还不完善**,建议安装Visual Studio 2022的Build Tools。直接在Visual Studio Installer中选择“使用C++的桌面开发”工作负载进行安装即可。
398+
389399
### 8.2、开发调试模式启动
390400

391401
运行如下命令即可开发模式启动

0 commit comments

Comments
 (0)