Primeng: missing dependencies when upgrading to Angular 9 and PrimeNg 9

Created on 14 Feb 2020  路  3Comments  路  Source: primefaces/primeng

After upgrading to Angular 9 and PrimeNg 9 (rc.4), I get

ERROR in The target entry-point "primeng" has missing dependencies:

  • chart.js

after manually installing chart.js I get same error but with

  • quill

after installing quill I get same error with

  • @fullcalendar/core

Finally it then compiles.

If primeng needs these dependencies, then it should install them.

Most helpful comment

the imports from "primeng" or "primeng/primeng" were deprecated, so, please use like below

import { TableModule } from "primeng/table";
import { ToastModule } from "primeng/toast";
import { CalendarModule } from "primeng/calendar";

All 3 comments

Hi @timfogarty1549, you can track at https://github.com/primefaces/primeng/issues/8560 .

the imports from "primeng" or "primeng/primeng" were deprecated, so, please use like below

import { TableModule } from "primeng/table";
import { ToastModule } from "primeng/toast";
import { CalendarModule } from "primeng/calendar";

@TIMORHIM Thanks man.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

garethlewis picture garethlewis  路  3Comments

philly-vanilly picture philly-vanilly  路  3Comments

SchneMa picture SchneMa  路  3Comments

miresk picture miresk  路  3Comments

mitosandov picture mitosandov  路  3Comments