500 [vite-node] [VITE_ERROR] ....entry.mjs

I am trying to use Chart.js in my app but there are some problems with the SSR, so I tried to fix it like in a Svelte App I did with the following: nuxt.config.ts
vite: {
ssr: {
noExternal: ['chart.js/**']
}
}
vite: {
ssr: {
noExternal: ['chart.js/**']
}
}
As soon as I add that kind of vite config it will crash and show me a error screen. [vite-node] [VITE_ERROR] /@fs./node_modules/nuxt/dist/app/entry.mjs at /@fs./node_modules/nuxt/dist/app/entry.mjs
No description
4 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
UnRunDead
UnRunDeadOP2y ago
Cant say it out of my mind, but let me check it out when I am home Feel free to Tag again if i forgot
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
productdevbook
ssr: {
noExternal: ['chart.js']
},
ssr: {
noExternal: ['chart.js']
},
Want results from more Discord servers?
Add your server