Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript error launching "jhispter-primeng" #118

Open
jperezdelafuente opened this issue Jun 16, 2020 · 0 comments
Open

TypeScript error launching "jhispter-primeng" #118

jperezdelafuente opened this issue Jun 16, 2020 · 0 comments

Comments

@jperezdelafuente
Copy link

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 ..]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant