How to ignore an error in a nuxtApp.hook? - Nuxt