/home/erpnext/frappe-bench/apps/frappe/frappe/build.py:330: UserWarning: Source /home/erpnext/frappe-bench/apps/nextfrepple/node_modules does not exist. warnings.warn(‘Source {source} does not exist.’.format(source = source))
module missing error after update
Wouldn’t this result in loosing all the customizations?
Another note about the git-related issues everyone has been facing. Removing shallow_clone: true
from your bench’s common_site_config.json and then running bench update
should work.
Alternatively, if you don’t make changes to your app source directly (which I hope nobody does), then bench update --reset
should work too. This can save you decent amounts of disk space by maintaining shallow clones of all your apps.
Anyone can guide for this:
This means that unless you stashed your own changes, your custom code in ERPNext has been lost. Your code is now that commit 0f64358f0b point of the official source. In your next bench update, your code will be merged into version-13 and you are fully updated with the official branch.
How to do that? Could you guide more? Could you share commands?
@gavindsouza just a clarification request, removing shallow_close will save space or using --reset?