In my Nuxt 3 app, I use Redis to count page views. All works well, except that I get unhandled errors when Redis is not running. So, here's the question - how to handle connection errors with useStorage() and Redis?
I have read Nuxt 3 and Nitro…
I want to make a request to a logging service after serving the request. For eg you hit an endpoint '/hello' i want to increment count in redis but after serving the request. Something similar to res.on('final') in express.js.
I tried searching the…
What is the proper way to import packages from a URL when using Deno runtime?
I get the following error:
ERROR [worker reload] [worker init] Only URLs with a scheme in: file and data are supported by the default ESM loader. Received protocol…
I am currently transferring a Nuxt 2 project over to Nuxt 3.
The server I use has a fixed IP address on which the application runs.
In Nuxt 2 there were the following options in nuxt.config.js in which I could assign the appropriate IP…
We have a relatively boilerplate Nuxt.js application, deployed with the "firebase" preset of Nitro to Firebase hosting.
In addition to the JavaScript that makes up the application itself, we have a file in public/embed.js that is intended to be…
I upgraded to the latest version of Nuxt3, it work perfectly on local, build with no errors, but when trying to deploy on Firebase, it throws this error, does anyone have an idea why, or where it might come from?
Build failed: npm ERR! code…
I have a Nuxt 3 chatbot app that works locally. However, when I deploy to Netlify using the netlify-edge preset, I get a 404 error when calling the server/api/chat.post.js endpoint. It seems that although the endpoint is reachable, there was…
I have a Nuxt 3 application that uses socket.io-client. The app builds and runs fine during development with a vanilla nuxt build process.
When I attempt to build and deploy to Firebase using the "firebase" preset for Nitro (NITRO_PRESET=firebase…
I updated nuxtjs application version 3.2.0 to 3.4.3. now when a client call server api (which calling a backend server) i have this exception
[nitro] [dev] [uncaughtException] TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type…
I have a Nuxt 3 application that is served via an Nginx proxy on a different domain. My application is working fine on my development environment, but I'm facing an issue loading client-side assets like JS, CSS, and SVG files when deploying to…
In my nuxt.config.js s set this nitro configuration.
export default defineNuxtConfig({
nitro: {
routeRules: {
'/api/**': {
proxy: 'https://dev.project.com/api/**',
},
},
}
});
But application 'dev.project.com'…
I am practicing how to use the bitmex api.
It is an API endpoint that gets position information. It works when request is used, but it does not work when fetch is used. What's wrong with this? The code is the same, but I get an authentication…
i have issue with launch a project in nuxt 3. So i have 2 different project. when im trying to launch one project it always open the second without styles and etc. It happens in port 3000.
Even tho if i deleted the second project, it opens the 2nd…
When I start my Nuxt 3 application and the defined port (from environment variable) is already in use, Nuxt uses a random port to start.
I would like to be able to disable this behavior, and just not start the application.
I added the strictPort…