FiveDigitLP
FiveDigitLP
NNuxt
Created by FiveDigitLP on 11/26/2024 in #❓・help
New prerender errors
@kapa.ai I downgraded from rollup 4.27.4 back to 4.22.4 and I am able to run npm run build locally without the "Nuxt instance unavailable" error. Is there anything between those versions of rollup or its dependencies that would cause this? I think the issue is a combination of our code and something that changed in Rollup, but I am unable to determine the fix in our code.
30 replies
NNuxt
Created by FiveDigitLP on 11/26/2024 in #❓・help
New prerender errors
@kapa.ai The documentation says to use runWithContext in instances where the Nuxt compiler "loses context". Is it possible for it to lose context within a Pinia store?
30 replies
NNuxt
Created by FiveDigitLP on 11/26/2024 in #❓・help
New prerender errors
@kapa.ai I added asyncContext: true to my nuxt config and am still receiving the same error after building. Does this mean the issue is likely not related to an async operation afterall?
30 replies
NNuxt
Created by FiveDigitLP on 11/26/2024 in #❓・help
New prerender errors
@kapa.ai Based on my research and the work I've done so far, I think the issue could be an async one. However, I am not sure how to identify where the problem code is. I am seeing this error on the only route we are currently pre-rendering (/software/bibles), but if I run npm run generate then I get plenty of 500 errors for other routes as well. So does that mean this is an async issue at the root of our code or is the problem somewhere else altogether?
30 replies
NNuxt
Created by FiveDigitLP on 11/26/2024 in #❓・help
New prerender errors
@kapa.ai We are currently on Nuxt 3.11.1. Do you know if that is incompatible with Rollup 3.29.5? That being said, I also tried running nuxi upgrade and even on the latest version of Nuxt we still were receiving this error. Perhaps it is an incompatibility with a different dependency?
30 replies
NNuxt
Created by FiveDigitLP on 7/3/2024 in #❓・help
Upgrade to 3.12.3 from 3.11.1 creating Vue Router error
Any help would be much appreciated as I'm at a complete loss as to what's going on and how to even find a solution.
5 replies
NNuxt
Created by FiveDigitLP on 7/3/2024 in #❓・help
Upgrade to 3.12.3 from 3.11.1 creating Vue Router error
Tried upgrading to the latest version, but I'm still seeing this error.
5 replies
NNuxt
Created by deetstrab on 6/30/2024 in #❓・help
Reactively add/remove a class name to <body>, from within a component...
I'm sorry for the ignorance, but what do you mean by this? The package-lock file??
45 replies
NNuxt
Created by deetstrab on 6/30/2024 in #❓・help
Reactively add/remove a class name to <body>, from within a component...
I manually updated to the latest version and it still doesn't seem to work... 😫
45 replies
NNuxt
Created by FiveDigitLP on 7/3/2024 in #❓・help
Upgrade to 3.12.3 from 3.11.1 creating Vue Router error
I'm not sure what's going on, though, because mine was working correctly before the upgrade.
5 replies
NNuxt
Created by FiveDigitLP on 7/3/2024 in #❓・help
Upgrade to 3.12.3 from 3.11.1 creating Vue Router error
Well, I tried creating a minimal reproduction and I'm not able to. The routes seem to work correctly there.
5 replies
NNuxt
Created by deetstrab on 6/30/2024 in #❓・help
Reactively add/remove a class name to <body>, from within a component...
Wait. You mean to tell me this is a bug and I'm not crazy?? 😅
45 replies
NNuxt
Created by deetstrab on 6/30/2024 in #❓・help
Reactively add/remove a class name to <body>, from within a component...
Thanks! That didn't seem to work. At this point, I think it might have something to do with the way I have my page routes set up. For some reason, I have a software.vue page set up in the root of my pages folder in addition to having the nested routes under /software. I remember reading in the documentation during the early stages of my project about this being an option, but I don't remember why exactly I chose this structure as I think it has caused more headaches than it's worth.
45 replies
NNuxt
Created by deetstrab on 6/30/2024 in #❓・help
Reactively add/remove a class name to <body>, from within a component...
I hate to piggy-back on this, but at the same time I am dealing with something very similar. The primary difference being that I don't even have any sort of conditional for the class. My goal is to have a body class that shows up on some pages and not on others. I thought it would be simple enough if I set bodyAttrs differently between pages, but that doesn't seem to be doing it. I have tried both setting the value bodyAttrs: { class: } to a ref and adding an anonymous function as above, but the class still seems to stick between pages. Any ideas?? Here's what I have for my pricing page:
const bodyClasses = ref('background-glow')

useHead({
title: pageTitle,
meta: [
{ name: 'description', content: pageDescription }
],
bodyAttrs: {
class: () => bodyClasses.value
}
})
const bodyClasses = ref('background-glow')

useHead({
title: pageTitle,
meta: [
{ name: 'description', content: pageDescription }
],
bodyAttrs: {
class: () => bodyClasses.value
}
})
And here's another page:
const bodyClasses = ref('')

useHead({
titleTemplate: null,
title: pageTitle,
meta: [
{ name: 'description', content: pageDescription }
],
bodyAttrs: {
class: () => bodyClasses.value
}
})
const bodyClasses = ref('')

useHead({
titleTemplate: null,
title: pageTitle,
meta: [
{ name: 'description', content: pageDescription }
],
bodyAttrs: {
class: () => bodyClasses.value
}
})
The title and page description changes, so I'm not sure why the bodyAttrs doesn't.
45 replies
NNuxt
Created by BobLamarley on 2/15/2024 in #❓・help
NuxtLink create an a href="", but a click on it doesn't change page, anything happen
It may be invalid, but that shouldn't be causing his problem. In our code, we put NuxtLinks around PrimeVue buttons that render the same as above and they work just fine.
7 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
In case anyone else struggles with this issue in the future, it does seem that this is an Azure issue and seemingly how they expect/intend for it to work: https://github.com/Azure/static-web-apps/issues/1132 https://learn.microsoft.com/en-us/azure/static-web-apps/apis-overview https://github.com/Azure/static-web-apps/issues/831
20 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
Looks like an issue for this is going to need to be filled somewhere...
20 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
We're getting good responses on Netlify!!!!
20 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
I attempted Vercel, but seems I don't have the right permissions on Azure DevOps (where our repo is at)
20 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
We're actually trying Netlify right now! 😁
20 replies