I just saw another post with someone with a very similar issue, but the same solution did not work for me.
I was recently added as an admin to a SCA site, 2019.1, and I'm trying to deploy to sandbox some work i did to enable google analytics 4.
I set up my dev environment, and I followed the articles here and here to enable TBA and apply the TBA updates to dev tools. I'm on node v10.15.13. I'm using the SCA dev tools, haven't set up the theme or extension dev tools.
I am getting the following error when running 'sudo gulp deploy'
It asked me for my hosting files, application publisher, ssp application etc on a previous attempt so i think that's why it isn't asking me again. I've double checked the guides and checked for typos but I still keep getting 'getFileNamedSearcherror undefined'
Note: the 3 lines after that come from me adding console.log in the filecabinet-util.js file where the error was coming from- they weren't originally there, I was just adding console.log statements to help me debug.
The other person who had this error in this discussion was having this issue because they missed one part of the code in the patch, but I double checked that I did that part correctly and I'm still having issues.
I would really appreciate any assistance on this. Thank you!