I am still struggling with this issue. I already tried changing back and forth the API versions and already added the code fix recommended by nop-templates for the 'Nop One Page Checkout' (see below) and added the code

locationId: '@squarePaymentSettings.LocationId',

And yet, I am still seeing this same error - 'Location is a required parameter for payment requests'