All Questions
203
questions
0
votes
0
answers
57
views
Unable to access session data in Express using express-session
I have implemented user authentication in my Node.js application using express-session and connect-session-sequelize to manage sessions and store session data in my MySQL database. Upon successful ...
0
votes
1
answer
371
views
How can I fix the Error: spawn php-cgi ENOENT
I'm using Nuxt with php-express and I'm trying to test my php script but an error is persisting for many hours and I can't find the issue.
*server.cjs : *
const express = require("express");
...
0
votes
0
answers
34
views
Socket io works on page reload only
I'm using socket.io in my nuxt 3 project .
this is what the setup looks like (defined as a nuxt plugin):
import { io } from 'socket.io-client';
export default defineNuxtPlugin((context) => {
let ...
0
votes
2
answers
74
views
Nuxtjs fails to load data from Express Backend running on different port
My NUXT SSR website https://tejasjadhav2001.tech is hosted at https://34.93.29.137:3333 and Expressjs server for REST backend is hosted at https://34.93.29.137:3000
https://34.93.29.137:3333 is ...
0
votes
0
answers
64
views
Can't log SSR errors with Nuxt
I am trying to catch a rendering error (HTTP 500) that happens on a certain route within a Nuxt (v2.17.2) project.
The app is hosted with the following Firebase Cloud Function:
const { Nuxt } = ...
0
votes
0
answers
133
views
Session working only one time and this one time creating session nuxt3
session working only one time and after second session i cant get session again, i tried with credentials: true and use headers cookie and they dont work.
Js framework: nuxt.js
Backend: express.js
...
1
vote
3
answers
4k
views
How to use Express.js with Nuxt 3
how can i connect Express.js with Nuxt 3? I cant find any tutorials... i want it in the /server directory. How can i achieve this?
Example of server.js
const express = require('express');
const app = ...
0
votes
1
answer
50
views
NuxtJS + Express + Docker: URIError on Requests
I get the error "URIError: URI malformed" when I try to log in using @nuxtjs/auth-next. But only if the Nuxt App is running in a Docker Container. If I start it with "yarn dev" or &...
0
votes
1
answer
1k
views
set up nuxt 3 as front-end with express as back-end for server side rendring
i just start learning the back-end and i choose express for nodejs as a back-end and switch from vue.js to nuxt.js as it server side rendring but i can't understand how to connect the front-end (nuxt ...
1
vote
0
answers
61
views
nuxt services not receiving cookies from service to service using Express
I have 3 different services.
Front End, what you see from the browser
An auth service running on port 3001
An admin service running on port 3002
I set a cookie on the auth service if you correctly ...
1
vote
0
answers
18
views
How can I sequre Nuxt + Express like serverMiddleware non-authentocated post requests?
Sorry for My English. I am using Nuxt 2 + Express 4 like serverMiddlewre.
Online store and users can push products to cart without authentication. Every cart saving in DataBase by POST request from ...
2
votes
1
answer
24
views
It looks like this code that try to GET request the value that send become blank
const po_orders = ref([]);
onMounted(async () => {
const res = await axios.get("http://127.0.0.1:4914/server/po_order",{
customername : 'ALEX',
});
...
0
votes
0
answers
84
views
Nuxt deployment
if (process.env.NODE_ENV === 'production'){
app.use(express.static(__dirname + '/public/'))
//handle SPA
app.get(/.*/, (req,res) => res.sendFile(__dirname + '/public/views/app.template....
0
votes
1
answer
731
views
Open PDF in new tab with Nuxt
I have one Python API that returns a PDF file which when called directly from my terminal downloads the PDF fine and it all looks good when opened. However, I have a Nuxt web app supported by an ...
1
vote
0
answers
313
views
require express on nuxt
I have some issues on importing the express inside my nuxt project;
I have to use the express to make a login page but the express importing is relating the following problem:
WARN Compiled with 5 ...