NormalMapShader is an addon, and must be imported explicitly, see Installation#Addons.
import { NormalMapShader } from 'three/addons/shaders/NormalMapShader.js';
Normal map shader, compute normals from heightmap.
examples/jsm/shaders/NormalMapShader.js