From f0ba757d9aaba177e7651e9d28c445368e8adb57 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Fri, 13 Jan 2023 10:17:00 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- README_EN.md | 2 +- bin/README.md | 2 +- bin/README_EN.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d8f3f46..f62bbd7 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ pake https://weekly.tw93.fun --name Weekly --transparent ## 定制开发 -开始前请确保电脑已经安装了 Rust 和 Node(>=16,如 16.18.1) 的环境,此外需参考 [Tauri 文档](https://tauri.app/v1/guides/getting-started/prerequisites) 快速配置好环境才可以开始使用,假如你太不懂,使用上面的命令行打包会更加合适。 +开始前请确保电脑已经安装了 Rust 和 Node `>=16 如 16.18.1` 的环境,此外需参考 [Tauri 文档](https://tauri.app/v1/guides/getting-started/prerequisites) 快速配置好环境才可以开始使用,假如你太不懂,使用上面的命令行打包会更加合适。 ```sh // 安装依赖 diff --git a/README_EN.md b/README_EN.md index 601027a..4e95a61 100644 --- a/README_EN.md +++ b/README_EN.md @@ -145,7 +145,7 @@ If you are a little white who doesn't know how to use the command line, a good o ## Development -Before starting, make sure that the computer has installed the Rust and Node(>=16, as 16.18.1) environment,refer to the [Tauri documentation](https://tauri.app/v1/guides/getting-started/prerequisites) to quickly configure your environment before you start. If you don't understand, it will be more appropriate to use the above command line to pack with one click. +Before starting, make sure that the computer has installed the Rust and Node `>=16 as 16.18.1` environment,refer to the [Tauri documentation](https://tauri.app/v1/guides/getting-started/prerequisites) to quickly configure your environment before you start. If you don't understand, it will be more appropriate to use the above command line to pack with one click. ```sh // Install Dependencies diff --git a/bin/README.md b/bin/README.md index a265120..cbecb3b 100644 --- a/bin/README.md +++ b/bin/README.md @@ -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 在开始之前可以运行如下命令,按照前期所需依赖。 diff --git a/bin/README_EN.md b/bin/README_EN.md index bbd2793..cb12d85 100644 --- a/bin/README_EN.md +++ b/bin/README_EN.md @@ -6,7 +6,7 @@ npm install -g pake-cli If the installation fails and you are prompted that you do not have permission, please see this [website](https://gist.github.com/Giancarlos/d087f8a9e6516716da98ad0c0f5a8f58) . -Also make sure that you're using a correct Node.js version `>=16, as 16.18.1`. If you're using [nvm](https://github.com/nvm-sh/nvm) for Node.js version management you may run `nvm use` from the root folder of the project and the correct version will be picked up. Other Node.js version management tools, such as [fnm](https://github.com/Schniz/fnm) and [tj/n](https://github.com/tj/n), should also have similar feature. +Also make sure that you're using a correct Node.js version `>=16 as 16.18.1`. If you're using [nvm](https://github.com/nvm-sh/nvm) for Node.js version management you may run `nvm use` from the root folder of the project and the correct version will be picked up. Other Node.js version management tools, such as [fnm](https://github.com/Schniz/fnm) and [tj/n](https://github.com/tj/n), should also have similar feature. **try not to use `sudo` permissions**, If you must use sudo, you need install rust in you system environment. For Mac, you can use brew to install it. For Linux like Ubuntu, you need apt to install it. In addition, Ubuntu can run the following commands before starting, depending on the previous needs.