Magento 2 minus compile error during installation: static content: deployment

After upgrading to Magento 2.1.16 on my test server with the nginx and php7.0 server, I am faced with a problem compiling fewer files and css.
The files styles-l.css Y styles-m.css Missing – they are not generated.

During the deployment of the static contest I receive errors:

Source compilation: /srv/www/rmstaging/public_html/vendor/magento/theme-frontend-blank/web/css/styles-l.less

Collection from the source:
frontend / Smartwave / porto_rtl / en_US / css / styles-l.less
variable @ modal-popup-breakpoint-screen__m is not defined in the file / srv / www / rmstaging / public_html / var / view_preprocessed / css / frontend / Smartwave / porto_rtl / en_US / Magento_Checkout / css / source / mource / motule / checkout / tustto / us / Magento_Checkout / css / source / module / module / checkout / tust / US / Magento_Checkout / css / source / mource / motule / checkout / to / US / Magento_Checkout / css / source / module / module / checkout / tust / US / Magento_Checkout / css / source / mource / motule / checkout / tust / us / Magento_Checkout / css / source / module / module / checkout / tust / US_Magento_Checkout / css / source / mource / motule / rodl / tech / _tooltip.less en line 11, column 41

I tried many solutions, including the one given at https://stackoverflow.com/questions/50764127/magento-2-less-compilation-error-while-setupstatic-contentdeploy-and-frontend given by @Ashsih Raj. But it did not work either.

I had the same problem in localhost but it was solved mysteriously. I think the only change is that on my local host I compile using PHP7.1

Please advise.