HeatMap issue at Dashboard

yesterday i update my erpnext from version 8 to version ERPNext: v10.1.36 (master), Frappe Framework: v10.1.36 (master)

but on that version i have problem at dashboard, example : Item, Customer, etc
when i see at my console this appear

form.min.js?ver=1528272862.0:2062 Uncaught (in promise) ReferenceError: CalHeatMap is not defined
    at Class.render_heatmap (form.min.js?ver=1528272862.0:2062)
    at Class.refresh (form.min.js?ver=1528272862.0:1885)
    at _f.Frm.refresh_header (form.min.js?ver=1528272862.0:368)
    at _f.Frm.render_form (form.min.js?ver=1528272862.0:500)
    at form.min.js?ver=1528272862.0:588

this pict when i open my Customer

anyone know how to fix this?

Install frappe chart using below command and check

npm install frappe-charts

i try that command but not solved for me

this message shown at my ssh

├── frappe-charts@1.1.0 extraneous
└── socket.io@2.0.3

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.4
npm WARN frappe@ No description

Run the following commands in the bench terminal -

bench setup requirements
bench build

See if this helps.

thanks @Zlash65, your solution worked same happened to me in version-11