How to make a yarn build

Type the following commands in your server console:

# Ubuntu/Debian
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
apt install -y nodejs

# CentOS
curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash -
sudo yum install -y nodejs yarn # CentOS 7
sudo dnf install -y nodejs yarn # CentOS 8

npm i -g yarn
cd /var/www/pterodactyl
yarn

cd /var/www/pterodactyl
yarn build:production # Build panel

Last updated