Unable to install rocket chat server in local machine

Description

Unable to setup the Rocket chat server on my wsl2 machine. when I’m trying to do yarn dev to start the local server, it is showing error like this

I have done yarn install for the respective package and built again but it still is not working.
Please help.

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System: linux(Ubuntu) wsl2
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version: 14.21.3
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

Any additional Information