Skip to content

I can't run the demo application (shown in the readme file) #15

@MarounMaroun

Description

@MarounMaroun

I changed app.component.ts to:

import { ChangeDetectionStrategy, Component } from '@angular/core';


@Component({
  selector: 'pl-root',
  template: `<pl-3-dashboard></pl-3-dashboard>`,
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class AppComponent {
}

But when I yarn start, I get:

this.rows.forEach is not a function TypeError: this.rows.forEach is not a function
    at Table._calculateMaxes (/Users/maroun.bassam/personal/platform-terminal/node_modules/blessed/lib/widgets/table.js:69:13)
    at Table.render (/Users/maroun.bassam/personal/platform-terminal/node_modules/blessed/lib/widgets/table.js:175:8)
    at /Users/maroun.bassam/personal/platform-terminal/node_modules/blessed/lib/widgets/element.js:2334:8
    at Array.forEach (<anonymous>)
    at Box.Element.render (/Users/maroun.bassam/personal/platform-terminal/node_modules/blessed/lib/widgets/element.js:2327:17)
    at /Users/maroun.bassam/personal/platform-terminal/node_modules/blessed/lib/widgets/element.js:2334:8
    at Array.forEach (<anonymous>)
    at Box.Element.render (/Users/maroun.bassam/personal/platform-terminal/node_modules/blessed/lib/widgets/element.js:2327:17)
    at /Users/maroun.bassam/personal/platform-terminal/node_modules/blessed/lib/widgets/screen.js:738:8
    at Array.forEach (<anonymous>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions