WebGL not working

When I try to build the game, I get the error:
Exception: Invalid WebGL template path: C:/Program Files/Unity/Hub/Editor/2020.1.6f1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\WebGLTemplates\Default! Select a template in player settings.
UnityEditor.WebGL.WebGlBuildPostprocessor.CheckBuildPrerequisites () (at /Users/bokken/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:179)
UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/bokken/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:908)
UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <67055f1be3654e2a987254d5437ee5b8>:0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <67055f1be3654e2a987254d5437ee5b8>:0)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
How do I fix it?

“Select a template in player settings.” did you try this??