Missing npm dependency in build require