Error after importing the config package as a local package

After importing the config package as a local package, I get the following error which I can’t even get rid of it again by deleting the local version:

System.Exception: Compute Shader compilation error on platform Metal in file Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariables.hlsl:8: failed to open source file: ‘Packages/com.unity.render-pipelines.high-definition-config/Runtime/ShaderConfig.cs.hlsl’ at kernel LightVolumeColors
HDRP will not run until the error is fixed.

How can I force HDRP to compile again?

i am also having the exact same problem on dx11. We are using collab, and the main PC has no problems.

We were able to resolve this by reimporting HDRP under the Packages list.

https://forum.unity.com/threads/error-with-hdrp-and-collaborate.895637/