doc: Respect and prevent updating existed yarn lockfile when installing dependencies (#1871)

This commit is contained in:
Bowen Liang 2024-01-03 15:27:19 +08:00 committed by GitHub
parent 9134849744
commit 66b3588897
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ First, install the dependencies:
```bash ```bash
npm install npm install
# or # or
yarn yarn install --frozen-lockfile
``` ```
Then, configure the environment variables. Create a file named `.env.local` in the current directory and copy the contents from `.env.example`. Modify the values of these environment variables according to your requirements: Then, configure the environment variables. Create a file named `.env.local` in the current directory and copy the contents from `.env.example`. Modify the values of these environment variables according to your requirements: