Fixed module require problem for nav config