webforms-evaluation/html/formio.md
2024-08-30 18:55:23 -06:00

571 B

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.