Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
useRuntimeConfig is returning a type unknown - Nuxt
N
Nuxt
•
2y ago
•
7 replies
Thibault
useRuntimeConfig is returning a type unknown
Since I
've upgraded to Nuxt 3
.13
, useRuntimeConfig is returning a type
unknown
unknown
.
I
've isolated that the issue comes from the combination of having both
nuxt-security
nuxt-security
and
@nuxtjs/i18n
@nuxtjs/i18n
installed
. If either of them are enabled
=
> no issue
, if both are
=
> issue
.
I
'm not really sure how to start debugging that
(looking at
.nuxt/types/schema.d.ts
.nuxt/types/schema.d.ts
, I don
't see anything blatant that would explain the issue
)
, if anyone has any idea
.
I
've made a simple reproduction
:
https://stackblitz.com/edit/github-unypdj?file=README.md
If you disable either of the modules in the nuxt config
-
> typechecking issue disappears
.
Nuxt
Join
Nuxt Community Chat Server
31,817
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
useRuntimeConfig() is returning undefined values
N
Nuxt / ❓・help
2y ago