Merge pull request #8161 from Budibase/update-docs-node-version
Update node version in Docs
This commit is contained in:
commit
98479d07b9
|
@ -1,12 +1,15 @@
|
||||||
## Dev Environment on Debian 11
|
## Dev Environment on Debian 11
|
||||||
|
|
||||||
### Install Node
|
### Install NVM & Node 14
|
||||||
|
NVM documentation: https://github.com/nvm-sh/nvm#installing-and-updating
|
||||||
|
|
||||||
Budibase requires a recent version of node (14+):
|
Install NVM
|
||||||
```
|
```
|
||||||
curl -sL https://deb.nodesource.com/setup_16.x | sudo bash -
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
|
||||||
apt -y install nodejs
|
```
|
||||||
node -v
|
Install Node 14
|
||||||
|
```
|
||||||
|
nvm install 14
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install npm requirements
|
### Install npm requirements
|
||||||
|
@ -31,7 +34,7 @@ This setup process was tested on Debian 11 (bullseye) with version numbers show
|
||||||
|
|
||||||
- Docker: 20.10.5
|
- Docker: 20.10.5
|
||||||
- Docker-Compose: 1.29.2
|
- Docker-Compose: 1.29.2
|
||||||
- Node: v16.15.1
|
- Node: v14.20.1
|
||||||
- Yarn: 1.22.19
|
- Yarn: 1.22.19
|
||||||
- Lerna: 5.1.4
|
- Lerna: 5.1.4
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ through brew.
|
||||||
|
|
||||||
### Install Node
|
### Install Node
|
||||||
|
|
||||||
Budibase requires a recent version of node (14+):
|
Budibase requires a recent version of node 14:
|
||||||
```
|
```
|
||||||
brew install node npm
|
brew install node npm
|
||||||
node -v
|
node -v
|
||||||
|
@ -38,7 +38,7 @@ This setup process was tested on Mac OSX 12 (Monterey) with version numbers show
|
||||||
|
|
||||||
- Docker: 20.10.14
|
- Docker: 20.10.14
|
||||||
- Docker-Compose: 2.6.0
|
- Docker-Compose: 2.6.0
|
||||||
- Node: 18.3.0
|
- Node: 14.20.1
|
||||||
- Yarn: 1.22.19
|
- Yarn: 1.22.19
|
||||||
- Lerna: 5.1.4
|
- Lerna: 5.1.4
|
||||||
|
|
||||||
|
@ -59,4 +59,7 @@ The dev version will be available on port 10000 i.e.
|
||||||
http://127.0.0.1:10000/builder/admin
|
http://127.0.0.1:10000/builder/admin
|
||||||
|
|
||||||
| **NOTE**: If you are working on a M1 Apple Silicon, you will need to uncomment `# platform: linux/amd64` line in
|
| **NOTE**: If you are working on a M1 Apple Silicon, you will need to uncomment `# platform: linux/amd64` line in
|
||||||
[hosting/docker-compose-dev.yaml](../hosting/docker-compose.dev.yaml)
|
[hosting/docker-compose-dev.yaml](../hosting/docker-compose.dev.yaml)
|
||||||
|
|
||||||
|
### Troubleshooting
|
||||||
|
If there are errors with the `yarn setup` command, you can try installing nvm and node 14. This is the same as the instructions for Debian 11.
|
||||||
|
|
|
@ -23,16 +23,16 @@ https://docs.docker.com/desktop/install/windows-install/
|
||||||
|
|
||||||
You should follow the next steps from within the Ubuntu terminal.
|
You should follow the next steps from within the Ubuntu terminal.
|
||||||
|
|
||||||
### Install NVM & Node 16
|
### Install NVM & Node 14
|
||||||
NVM documentation: https://github.com/nvm-sh/nvm#installing-and-updating
|
NVM documentation: https://github.com/nvm-sh/nvm#installing-and-updating
|
||||||
|
|
||||||
Install NVM
|
Install NVM
|
||||||
```
|
```
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
|
||||||
```
|
```
|
||||||
Install Node 16
|
Install Node 14
|
||||||
```
|
```
|
||||||
nvm install 16
|
nvm install 14
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ This setup process was tested on Windows 11 with version numbers show below. You
|
||||||
|
|
||||||
- Docker: 20.10.7
|
- Docker: 20.10.7
|
||||||
- Docker-Compose: 2.10.2
|
- Docker-Compose: 2.10.2
|
||||||
- Node: v16.17.1
|
- Node: v14.20.1
|
||||||
- Yarn: 1.22.19
|
- Yarn: 1.22.19
|
||||||
- Lerna: 5.5.4
|
- Lerna: 5.5.4
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue