30 lines
571 B
Markdown
30 lines
571 B
Markdown
![]() |
# formio
|
||
|
Needs npm version 20. Version 18 is current version in Debian stable (bookworm).
|
||
|
|
||
|
|
||
|
So, install upstream npm...
|
||
|
```
|
||
|
# Remove existing debian version
|
||
|
sudo apt purge --autoremove nodejs npm
|
||
|
|
||
|
# Install upstream version
|
||
|
curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh
|
||
|
sudo -E bash nodesource_setup.sh
|
||
|
sudo apt install nodejs
|
||
|
|
||
|
# Check it is ok
|
||
|
node -v
|
||
|
```
|
||
|
|
||
|
Now install formio...
|
||
|
|
||
|
```
|
||
|
git clone https://github.com/formio/formio
|
||
|
cd formio/
|
||
|
git checkout v4.2.2
|
||
|
npm install # FTBFS, stable and HEAD
|
||
|
# run thing
|
||
|
node server
|
||
|
# Then set up proxy.
|
||
|
```
|