Add to shopping cart does not work

I have an installation of a test system

     ERPNext: v8.2.3 (master)
     Frappe Framework: v8.2.6 (master)

It has articles and a shop active.

But, if I want to add some article to my shopping cart, nothing happens.

If I read the browser console, it reports a JavaScript error:

 TypeError: erpnext.shopping_cart.update_cart is not a function

I have tried migrating, restarting, but the error persists. Any ideas to resolve it?

I found the solution to this one: it is an issue with dependencies.


$ cd /home/frappe/frappe-bench
$ sudo bench update --requirements
$ sudo bench update --build
$ sudo bench restart

That resolves the problem.