Make Sentry ignore source map for node_modules

In my on premise sentry setup, I get an issue with errors reported:

  • Source code was not found for /path/to/node_modules/express/lib/router/index.js Expand
  • Source code was not found for /path/to/node_modules/express/lib/router/layer.js Expand
  • Source code was not found for /path/to/node_modules/raven/lib/client.js Expand
  • Source code was not found for /path/to/node_modules/helmet/index.js Expand

How can I stop sentry from trying to look for source maps for anything in node_modules?

Otherwise, it will run into this error:

  • The maximum number of remote source requests was made

I also have this issue and have been scratching my head for awhile on this.

This is a problem for me, too. I do not need source maps for my node project

Did you find a solution yet?

Anyone any solution on this? I spent all day with no success.