image
image copied to clipboard
"Cannot assign to read only property 'exports' of object '#<Object>'"
Hi,
Can't seem to find a solution for this. After installing and putting @nuxt/image in the “modules" array in the nuxt.config file, I got this issue displayed on the page: "TypeError - Cannot assign to read only property 'exports' of object '#<Object>'".
I don't have any error in the terminal to help me debugging this.
Does anybody have an idea what might cause this issue please?
Thank you,
OS: MacBook Pro M1 - MacOS 11.4 Node version: v14.16.1 Package manager: npm
package.json
"dependencies": {
"@nuxtjs/axios": "^5.13.1",
"@nuxtjs/robots": "^2.5.0",
"@nuxtjs/sitemap": "^2.4.0",
"@nuxtjs/svg": "^0.2.0",
"core-js": "^3.10.1",
"fibers": "^5.0.0",
"lodash": "^4.17.21",
"node-sass": "^5.0.0",
"nuxt": "^2.15.3",
"nuxt-babel": "^1.0.1",
"nuxt-i18n": "^6.25.0",
"nuxt-purgecss": "^1.0.0",
"sass": "^1.32.8",
"sass-loader": "^10.1.1",
"swiper": "^7.3.0",
"vue-awesome-swiper": "^4.1.1",
"vue-clamp": "^0.4.0",
"vue-scrollto": "^2.20.0",
"vue-select": "^3.16.0"
},
"devDependencies": {
"@fullhuman/postcss-purgecss": "^2.3.0",
"@nuxt/image": "^0.6.0",
"@nuxtjs/style-resources": "^1.0.0",
"nuxt-compress": "^5.0.0"
}