Unable to import createClient from prismicio

Another possible reason behind that error message is having no documents published of the custom type which it says is declared but unknown (i.e. 0 published documents of page customType)