exeldro / com.insights.aggregate

Aggregated Insights for Homey
3 stars 1 forks source link

App crashes on installation #1

Closed cbho closed 6 years ago

cbho commented 6 years ago

Homey FW 1.5.6-rc.7

(node:22671) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): no_auth_method_found (node:22671) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. /app.js:92 this.calculating = aggregations.length; ^

TypeError: Cannot read property 'length' of null at AggregatedInsightsApp.calculateAggregations (/app.js:92:35) at Timeout._onTimeout (/app.js:14:29) at ontimeout (timers.js:475:11) at tryOnTimeout (timers.js:310:5) at Timer.listOnTimeout (timers.js:270:5)

Exit code: 1 Exit signal: null

exeldro commented 6 years ago

Bug found and fixed