mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 01:41:01 +01:00
[docs] update READMEs to newer node version
This commit is contained in:
parent
1876d67e74
commit
98cee4a6cd
@ -77,7 +77,7 @@ Query OK, 0 rows affected (0.00 sec)
|
|||||||
|
|
||||||
#### Build
|
#### Build
|
||||||
|
|
||||||
_Make sure to use Node.js 16.10 and npm 7._
|
_Make sure to use Node.js 20.x and npm 9.x or newer_
|
||||||
|
|
||||||
_The build process requires [Rust](https://www.rust-lang.org/tools/install) to be installed._
|
_The build process requires [Rust](https://www.rust-lang.org/tools/install) to be installed._
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ $ npm run config:defaults:liquid
|
|||||||
|
|
||||||
### 3. Run the Frontend
|
### 3. Run the Frontend
|
||||||
|
|
||||||
_Make sure to use Node.js 16.10 and npm 7._
|
_Make sure to use Node.js 20.x and npm 9.x or newer._
|
||||||
|
|
||||||
Install project dependencies and run the frontend server:
|
Install project dependencies and run the frontend server:
|
||||||
|
|
||||||
@ -70,7 +70,7 @@ Set up the [Mempool backend](../backend/) first, if you haven't already.
|
|||||||
|
|
||||||
### 1. Build the Frontend
|
### 1. Build the Frontend
|
||||||
|
|
||||||
_Make sure to use Node.js 16.10 and npm 7._
|
_Make sure to use Node.js 20.x and npm 9.x or newer._
|
||||||
|
|
||||||
Build the frontend:
|
Build the frontend:
|
||||||
|
|
||||||
|
@ -84,11 +84,11 @@ pkg install -y zsh sudo git screen curl wget neovim rsync nginx openssl openssh-
|
|||||||
|
|
||||||
### Node.js + npm
|
### Node.js + npm
|
||||||
|
|
||||||
Build Node.js v16.16.0 and npm v8 from source using `nvm`:
|
Build Node.js v20.17.0 and npm v9 from source using `nvm`:
|
||||||
```
|
```
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | zsh
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | zsh
|
||||||
source $HOME/.zshrc
|
source $HOME/.zshrc
|
||||||
nvm install v16.16.0 --shared-zlib
|
nvm install v20.17.0 --shared-zlib
|
||||||
nvm alias default node
|
nvm alias default node
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user