GREP ignoruj ​​węzeł_module

grep -R --exclude-dir=node_modules 'some pattern' /path/to/search
Angry Alligator