{"id":2556,"date":"2021-02-19T18:05:07","date_gmt":"2021-02-19T18:05:07","guid":{"rendered":"https:\/\/salientsoft.co.uk\/?p=2556"},"modified":"2021-02-19T18:06:53","modified_gmt":"2021-02-19T18:06:53","slug":"primeng-11-angular-11-build-fails-due-to-missing-angular-cdk-dependenc","status":"publish","type":"post","link":"https:\/\/salientsoft.co.uk\/?p=2556","title":{"rendered":"PrimeNG 11\/Angular 11 build fails due to missing @angular\/cdk dependency"},"content":{"rendered":"\n<p>&#8230; as above &#8211; I received the following error in relation to a <em>PrimeNG p-dropdown<\/em> used with a <em>p-dataview<\/em>:<\/p>\n<blockquote>\n<p>Error: The target entry-point &#8220;primeng\/dataview&#8221; has missing dependencies:<br \/>&#8211; @angular\/cdk\/scrolling<\/p>\n<\/blockquote>\n<p>This issue is covered <a href=\"https:\/\/github.com\/primefaces\/primeng-quickstart-cli\/issues\/19\"><strong>here<\/strong><\/a>.<br \/>I haven&#8217;t seen this before, but installing @angular\/cdk resolved the build failure. This appears to be a transitive dependency issue which should have been resolved by my dependencies on PrimeNG.<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8230; as above &#8211; I received the following error in relation to a PrimeNG p-dropdown used with a p-dataview: Error: The target entry-point &#8220;primeng\/dataview&#8221; has missing dependencies:&#8211; @angular\/cdk\/scrolling This issue is covered here.I haven&#8217;t seen this before, but installing @angular\/cdk resolved the build failure. This appears to be a transitive dependency issue which should have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[198,209,1,77],"tags":[13,40,16],"_links":{"self":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2556"}],"collection":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2556"}],"version-history":[{"count":5,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2556\/revisions"}],"predecessor-version":[{"id":2561,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2556\/revisions\/2561"}],"wp:attachment":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}