I have tried to add erpnext app i am getting this error.
erpnext is already there. directly install it on your site with cmd
bench --site site_name install-app erpnext
or remove erpnext app from frappe-bench/apps
directory
clone it again an then install it.