Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TypeError: Cannot add module namespace property '_nuxtConfigFile' to nuxt.config.js with NUXT 2.4.5

I am upgrading to Nuxt 2.4.5 and getting below error TypeError: Cannot add module namespace property '_nuxtConfigFile' to nuxt.config.js

like image 504
Hardik Shah Avatar asked Jan 27 '23 13:01

Hardik Shah


1 Answers

Replace module.exports = {} from nuxt.config.js to export default { }

like image 128
mtleppay Avatar answered Jan 29 '23 13:01

mtleppay