删除 node_modules 和 package-lock.json 并重复安装
After you upgrade to primeng 9, check your project to see if it has old references to primeng components.
As an example please see attached, there are others that you need to change too, just look for them. Once you give correct reference, it will fix those errors for you. Another example is "growl" is depricated, change it to "toast".
Also make sure you import primeng modules correctly too.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.