while posting a html encoded text to the server, the server side code works fine on the dev environment but when I publish it on a netlify server, the same request returns a 500 error and the server side request log middleware only detects a post…
How can I maintain the Prestashop set-cookie header for user identification when adding a product to cart in Nuxt 3 project using Prestashop as a REST API, as the cookie is currently lost at the Nuxt nitro server level and not being set on the…
I have clear cache in my nuxt3js application with npx nuxi clean, this command removes .nuxt ,
.output , node_modules/.vite and node_modules/.cache. So inorder to run the app again I need to run npm install and then start the serve with npm run…
Im trying to dynamically load modules from a nitro server in a nuxt app, but I get the following error:
Cannot find module projectpath/.nuxt/services/listing imported from projectpath/.nuxt/dev/index.mjs
This is the snippet of code Im using for the…
I have created a function that allows to manage caching.
I use this function to cache the responses to API calls.
export const cache = async (key: string, callback: Function) => {
const cacheKey = `cache:${key}`;
const data = await…
I'm experimenting with Nuxt 3, and was wondering if it was possible to override a particular part of Nitro's runtime behaviour. The Nuxt docs suggest extending Nitro's runtime behaviour is possible through server plugins, it's just a little thin on…
I am trying to test out using Firebase with Nuxt3 server routes and for some reason get the following error:
[nitro] [dev] [unhandledRejection] TypeError: i.consume is not a function
I Googled and nothing came up, nor nothing here in stackoverflow…
I am using fetch to call backend API, th eprobelm is the backend security is a token, for security purpose we can not expose this token on public configuration.
I wanted to know if it is possible to put the token on server side params and then when…
I seem to be misunderstanding something about either the API I'm working with or how nuxt works.
Tools
ActiveCampaign API
NuxtJS
Goal
I just want to get all contacts stored in my ActiveCampaign Account and display them on the frontend.
Current…