After a failed attempt on adding a plugin, I reverted to my backup. Tried relaunching. But getting this error. Please give me some solution

Sorry for the confusion. I’m new to it. We have self-hosted a site with the discourse codebase.
Error (if it helps):


I, [2025-02-10T05:18:31.699440 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
error discourse@: The engine "yarn" is incompatible with this module. Expected version "please-use-pnpm". Got "1.22.22"
warning discourse@: The engine "pnpm" appears to be invalid.
error Found incompatible module.
I, [2025-02-10T05:18:31.982174 #1]  INFO -- : yarn install v1.22.22
info No lockfile found.

Docker version: 26.1.3

OS:
NAME=“Rocky Linux”
VERSION=“8.10 (Green Obsidian)”