我的Angular应用程序在本地完美运行。我尝试在生产环境中编译它,然后看到此错误。
[ERROR] ERROR in node_modules/primeng/api/menuitem.d.ts:1:10 - error TS2305: Module '"../../@angular/router/router"' has no exported member 'QueryParamsHandling'.
我也尝试了其他解决方案,但没有找到方法。我发现了类似的错误,但是没有不同的导出成员。