Nuxt 2.13.3 Uncaught TypeError: Cannot use 'in' operator to search for

altynbek07
0
altynbek07
commented 2 months ago

Version

v2.4.0

Reproduction link

https://github.com/nuxt-community/sitemap-module

Steps to reproduce

Hi. I installed a fresh clean version of Nuxt 2.13.3 with these options:

npx create-nuxt-app project-nuxt

Project name: project-nuxt
Programming language: JavaScript
Package manager: Npm
UI framework: None
Nuxt.js modules: Axios
Linting tools: ESLint, Prettier
Testing framework: None
Rendering mode: Universal (SSR / SSG)
Deployment target: Server (Node.js hosting)
Development tools: None

Then I install sitemap module: npm install @nuxtjs/sitemap. And added @nuxtjs/sitemap in my nuxt.config.js (without any options, just default):

modules: [
  '@nuxtjs/sitemap',
]

What is expected ?

Without any errors.

What is actually happening?

After going to http://localhost:3000 I got 3 errors (attached screenshots):

Uncaught TypeError: Cannot use 'in' operator to search for 'WebkitAppearance' in undefined
Uncaught TypeError: Cannot use 'in' operator to search for 'animation' in undefined
Uncaught TypeError: Cannot read property 'charAt' of undefined

localhost:55888:sitemap.xml 2020-07-17 18-57-38.png

bug
0
Informations
Bug Report โ€ข Open
#c110 - Created 2 months ago