Ans : Run npm install first to install all the dependencies and then run the command npm run dev.
npm install
npm start
Ans : Run the following command in the terminal. Use the first command if you are a linux user and second command if you are windows user.
NODE_OPTIONS=--max_old_space_size=4096
set NODE_OPTIONS=--max_old_space_size=4096 npm run build
Ans : If you are facing this issues, then you might be running the older version of node, we recommend that you upgrade your node version and try running the project again.
Ans : Try the below given command.
sudo sysctl fs.inotify.max_user_watches=524288
Ans : Follow the below Given Setps
Run this command first
npm cache clean --force
If still you are facing the same issue:
remove node_module and package-lock and run npm i again