Skip to content

TypeScript error launching "jhispter-primeng" #118

@jperezdelafuente

Description

@jperezdelafuente

My environment has the following packages:

[email protected]
[email protected]

When I run the command "yo jhipster-primeng" an error is thrown:

[INFO] Webpack: Finished after 45.299 seconds.
[INFO]
[INFO]  ERROR  Failed to compile with 1 errors14:05:54
[INFO]
[INFO]  error
[INFO]
[INFO] src/main/webapp/app/primeng/buttons/splitbutton/splitbuttondemo.component.html:30:78 - error TS2322: Type 'string' is not assignable to type 'boolean'.
[INFO]
[INFO] 30             <p-splitButton label="Create" icon="fa fa-check" [model]="items" disabled="true"></p-splitButton>
[INFO]                                                                                 ~~~~~~~~~~~~~~~
[INFO]
[INFO]   src/main/webapp/app/primeng/buttons/splitbutton/splitbuttondemo.component.ts:6:18
[INFO]     6     templateUrl: './splitbuttondemo.component.html',
[INFO]                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO]     Error occurs in the template of component SplitbuttonDemoComponent.
[INFO] src/main/webapp/app/primeng/overlay/dialog/dialogdemo.component.html:16:44 - error TS2322: Type 'string' is not assignable to type 'boolean'.
[INFO]
[INFO] 16             <p-dialog [(visible)]="custom" modal="true">
[... and other similar errors ..]

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