While building my application whenever I click the Near Me widget it crashes and gives me this error:

I do have about 20 layers in the near me widget. However, I was able to use these same layers (plus way more) in Web App Builder screening widget and it worked no problem.
Is there anything I can do? Or is there a better alternative to the screening widget? I want to allow a user to see what features are near a AOI of their choice.