I have created the local setup from the live server. After that, I have copied the theme files like Porto and porto_rtl from the live server and pasted it on the local setup.
Then run all the command. but it throwing the js error
Compilation from source /var/www/html/test//app/design/frontend/Smartwave/porto/web/js/jquery.parallax.min.js failed Magento\Framework\View\Asset\File\NotFoundException: Unable to resolve the source file for 'frontend/Smartwave/porto_rtl/en_US/js/jquery.parallax.min.js' in /var/www/html/test/vendor/magento/framework/View/Asset/File.php:160
How to resolved that.
Thanks.