This commit is contained in:
Manav Rathi 2024-05-16 21:43:41 +05:30
parent ca2f124304
commit 20a7e47cde
No known key found for this signature in database

View file

@ -12,9 +12,9 @@ development, here is a recommended workflow:
4. Install **node** on your machine. There are myriad ways to do this, here are
some examples:
* macOS: `brew install node@20`
- macOS: `brew install node@20`
* Ubuntu: `sudo apt install nodejs npm && sudo npm i -g corepack`
- Ubuntu: `sudo apt install nodejs npm && sudo npm i -g corepack`
5. Enable corepack. This allows us to use the correct version of our package
manager (**Yarn**):
@ -24,12 +24,12 @@ development, here is a recommended workflow:
corepack enable
```
If now you run `yarn --version` in the web directory, you should be seeing a
1.22.xx version, otherwise your `yarn install` will fail.
If now you run `yarn --version` in the web directory, you should be seeing a
1.22.xx version, otherwise your `yarn install` will fail.
```sh
$ yarn --version
1.22.21
```
```sh
$ yarn --version
1.22.21
```
That's it. Enjoy coding!