icon icon indicating copy to clipboard operation
icon copied to clipboard

[BUG] 500 Maximum call stack size exceeded. Customize this page

Open tropikow opened this issue 5 months ago • 0 comments

When using the <Icon /> component with @nuxt/icon v2.0.0 and Nuxt v4.1.3, the application throws a “Maximum call stack size exceeded” error. This happens as soon as I render any icon in a component. Example: <template> <Icon name="uil:github" style="color: black" /> </template> Error Output 500 Maximum call stack size exceeded. Environment: { "name": "nuxt-callkit", "type": "module", "private": true, "dependencies": { "@nuxt/icon": "2.0.0", "nuxt": "4.1.3", "vue": "3.5.22", "vue-router": "4.5.1" } } nuxt.config.ts: // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ compatibilityDate: '2025-07-15', devtools: { enabled: true }, css: ['~/assets/css/main.css'], modules: ['@nuxt/icon'], }) What I Tried I suspected the issue might be caused by a subdependency conflict. After removing the ^ from the version numbers in my package.json, the project built correctly, but the runtime error persisted.

tropikow avatar Oct 12 '25 21:10 tropikow