Got an exception while setting things up locally in ubuntu 22.04

I have been following jitsi handbook docs to setup things locally and I successfully able to execute following commands

# Clone the repository
git clone https://github.com/jitsi/jitsi-meet
cd ./jitsi-meet

npm install

# To build the Jitsi Meet application, just type
make

But when I try to execute sudo make dev command then I got error that I’ve mention below

System limit for number of file watchers reached, watch '/home/@username/Desktop/jitsi-meet/node_modules/@atlaskit/field-base/node_modules/@atlaskit/icon/svgs_raw/open.svg'

What I’m supposed to do after make command ended.
Thank you!

Hey there, and welcome to our community!

First, don’t use sudo when building, there is no need for it.

You might need to raise the file descriptor limit for inotify watchers, here is how to do it: Ubuntu Increase Inotify Watcher (File Watch Limit) - DEV Community 👩‍💻👨‍💻

saghul, thank you very much for your guidance I’m able to file that issue but I’m stumbled upon another problem when I try to make changes and save file locally I’ve got following error can you help me please?

Failed to save 'fileName.tsx': Unable to write file 'vscode-remote://dev-container+2f686f6d652f70726979616e7368752f4465736b746f702f6a697473692d6d656574/workspaces/jitsi-meet/react/features/participants-pane/components/web/ParticipantsCounter.tsx' (NoPermissions (FileSystemError): Error: EACCES: permission denied, open '/workspaces/jitsi-meet/react/features/participants-pane/components/web/ParticipantsCounter.tsx')

I have figure out something when I open vim with sudo privilege the error is gone but when I try to commit changes I’ve got this thing.

Author identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'root@username.(none)')

I have already done steps which that prompt mention but nothing is working it still give me same thing when I try to commit changes.

Looks like you created files using root account and trying to update them using the normal user account.

Start again without using sudo