When I create a new project with HDRP template, I am getting this error and some compilation errors based on this. This issue also exists in earlier versions of the beta. I have made a new install. This seems to be related to new Unity Hub Beta. It copies a new package called "HDRP Template Preview 1.4.1" and that package is doesn't have right package contents in the json. Plus, the actual HDRP default scene is missing.