PrimeNG 7 Dynamic Dialog

UI Components for Angular
Post Reply
mkeeton
Posts: 1
Joined: 04 Dec 2018, 16:17

04 Dec 2018, 16:34

I've just integrated the Dynamic Dialog into my application and everything was working fine until it came to building for production.
When trying to do an AOT build I get the following message

"ERROR in : Unexpected value 'DynamicDialogModule in C:/Development/Applications/C/Git/TurnkeyAuthentication/node_modules/primeng/dynamicdialog.js' imported by the module 'AngularTurnkeyLayoutModule in C:/Development/Applications/C/Git/TurnkeyAuthentication/TurnkeyAuthentication/src/app/turnkey-layout/angular-turnkey-layout.module.ts'. Please add a @NGModule annotation."

Has anyone else experienced this and has anyone found a way to fix it?

jahmbo
Posts: 4
Joined: 03 Jun 2016, 10:32

13 Dec 2018, 00:44

Also have the same problem, I don't know how to solve this.
Did you find any resolution?

Right now I had to disable aot, to be able to deploy application.

yigitfindikli
Posts: 449
Joined: 08 Aug 2018, 14:09

13 Dec 2018, 15:24

Can you try at primeng latest version(7.0.1)?

jahmbo
Posts: 4
Joined: 03 Jun 2016, 10:32

13 Dec 2018, 21:21

yigitfindikli wrote:
13 Dec 2018, 15:24
Can you try at primeng latest version(7.0.1)?
Thanks for comment, I see that today was released new version fixing this issue, right now works for me

yigitfindikli
Posts: 449
Joined: 08 Aug 2018, 14:09

14 Dec 2018, 09:40

jahmbo wrote:
13 Dec 2018, 21:21
yigitfindikli wrote:
13 Dec 2018, 15:24
Can you try at primeng latest version(7.0.1)?
Thanks for comment, I see that today was released new version fixing this issue, right now works for me
Glad to hear.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests