Closed shailee-m closed 3 years ago
When rendering an individual Home page, The following error appears in a toast message:
TypeError: d3.nest is not a function<br> at Object.getHomeActivityTypeMetrics (server/methods/charts/homeCharts.js:125:15)<br> at packages/simple_rest.js:383:33<br> at packages/simple_json-routes.js:98:9
We need to include
package-lock.json
in our repository.
the project was setup with yarn by default. yarn.lock is committed. Should I remove yarn?
TypeError: d3.nest is not a function<br> at Object.getHomeActivityTypeMetrics (server/methods/charts/homeCharts.js:125:15)<br> at packages/simple_rest.js:383:33<br> at packages/simple_json-routes.js:98:9
I think the yarn.lock has the exact d3 version.
Can your reinstall the node_modules using the command yarn
and check?
Oops. I forgot we are using Yarn here. My bad.
Adding details and report page for each home. Depends on #5