Is it possible to disable lsp in node_modules directory file?

Hello,

I would like to disable LSP client or just efm langserver when I’m in the file which is inside node_modules directory.

Because of efm and prettier errors related to my config I can’t read anything:

Is it possible? I can provide my lsp/efm config if needed.
Maybe some particular vim BufEnter syntax to emit :LspStop inside node_modules dir file?

Thank you!

This might work

autocmd BufRead,BufNewFile */node_modules/* LspStop