How I Solve this git error?

when I add my folder through (git add . ) I will face this error.

Doesn’t look like an error.
It seems that git is trying to add all of your node modules, but you’d like git to ignore them, so in the root of your project create a file called .gitignore and add node_modules/

An example .gitignore is…

.gitignore

node_modules
build
npm-debug.log
.env
.DS_Store
1 Like

Thank you very much brother It’s working.

1 Like