🐛 更新文档

This commit is contained in:
Tw93
2023-01-13 10:17:00 +08:00
parent 0ac8fccd83
commit f0ba757d9a
4 changed files with 4 additions and 4 deletions

2
bin/README.md vendored
View File

@@ -6,7 +6,7 @@ npm install -g pake-cli
如果安装失败提示没有权限,请参考该贴解决:[链接](https://gist.github.com/Giancarlos/d087f8a9e6516716da98ad0c0f5a8f58)。
此外,请确保你使用的是正确的 Node.js 版本 `>=16如 16.18.1`,如果你在使用 [nvm](https://github.com/nvm-sh/nvm) 进行 Node.js 版本管理,可以尝试在项目的目录下运行 `nvm use`,就会拿到正确的版本;其他一众 Node.js 版本工具,比如 [fnm](https://github.com/Schniz/fnm)、[tj/n](https://github.com/tj/n) 应该也有类似的功能。
此外,请确保你使用的是正确的 Node.js 版本 `>=16 如 16.18.1`,如果你在使用 [nvm](https://github.com/nvm-sh/nvm) 进行 Node.js 版本管理,可以尝试在项目的目录下运行 `nvm use`,就会拿到正确的版本;其他一众 Node.js 版本工具,比如 [fnm](https://github.com/Schniz/fnm)、[tj/n](https://github.com/tj/n) 应该也有类似的功能。
**尽量不要使用 `sudo` 权限**。 如果实在要用 sudo请手动安装 rust 到系统环境。Mac 可以用 brew 命令安装Linux 如 Ubuntu 可以用 apt 命令安装,此外 Ubuntu 在开始之前可以运行如下命令,按照前期所需依赖。