NuxtN
Nuxt14mo ago
4 replies
Leo

Internal server error: Attempted to assign to readonly property.

Hey Guys!
Since I've containerized my Nuxt application using docker compose, my app is frequently crashing after doing changes in a component. You can see the error code in the attached image.

In the console the error,
nuxt-1      |  ERROR  Internal server error: Attempted to assign to readonly property.
nuxt-1      |   Plugin: vite:css
nuxt-1      |   File: /app/assets/css/tailwind.css:36911:5
nuxt-1      |       at <anonymous> (/app/node_modules/vite/dist/node/chunks/dep-CUvs3bbV.js:36911:5)
nuxt-1      |       at processTicksAndRejections (native:7:39)

is thrown.

This error occurs not only in tailwind.css but also in fonts.css.

Important code: https://paste.gg/p/anonymous/8d3e7cfaaef345c2b21cd9a870f4119a
Screenshot_2024-11-10_at_07-13-09_.png
Was this page helpful?