Issue upgrading from 3.16.2 to 3.17.4

No matter what I do nothing loads and I get the following error:
requested module '/_nuxt/@id/virtual:nuxt:....nuxt%2Fnuxt.config.mjs' does not provide an export named 'granularCachedData' (at asyncData.js:10:29)
requested module '/_nuxt/@id/virtual:nuxt:....nuxt%2Fnuxt.config.mjs' does not provide an export named 'granularCachedData' (at asyncData.js:10:29)
I tried deleting the cache and reinstalling(using the nuxi CLI) but it seems like there is an issue with the build process.
3 Replies
kapa.ai
kapa.ai3w ago
Hi @Seanitzel. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I'm sorry, but the knowledge sources provided do not contain any information about the specific error:
requested module '/_nuxt/@id/virtual:nuxt:....nuxt%2Fnuxt.config.mjs' does not provide an export named 'granularCachedData' (at asyncData.js:10:29)
requested module '/_nuxt/@id/virtual:nuxt:....nuxt%2Fnuxt.config.mjs' does not provide an export named 'granularCachedData' (at asyncData.js:10:29)
There are several upgrade issues and changelogs related to Nuxt 3.17.x, including problems with async data, cache purging, and module compatibility, but none mention the granularCachedData export or a similar build error. The official upgrade guides recommend using npx nuxi upgrade --dedupe and clearing caches, which you have already tried. Some issues in the knowledge sources were related to npm bugs or dependency mismatches, but not this specific export error. If this issue persists after following the official upgrade steps, it may be a newly introduced bug or a problem with a specific module or custom code. I recommend checking the Nuxt release notes for any mention of granularCachedData and, if unresolved, opening a new issue on the Nuxt GitHub repository with your error details and reproduction steps. Again, I'm sorry I couldn't provide a more direct solution based on the current knowledge sources. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai3w ago
<@708310788036886530> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
Seanitzel
SeanitzelOP3w ago
Yea it still happens after running upgrade --dedupe

Did you find this page helpful?