Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
17 views

EJS isn't being rendered

I'm making a rock, scissors, paper game on the backend of Node.js with express server, frontend.js client-side, index.ejs and main.css files. I firstly want to render a string line of the result of ...
Yuval Yanay's user avatar
0 votes
0 answers
14 views

Serving static files directly in Google App Engine with express

I have a standard Google App Engine environment and am trying to serve some static files for my create-react-app frontend, but I'm not able to do so without copying over the client/build/ files into ...
selroh18's user avatar
-2 votes
0 answers
22 views

Why res.clearCookie() is not working after deploying to vercel?

First of all, everything works fine when running on localhost. However, after deploying the app to Vercel when the user tries to log out it should clear cookies with res.clearCookie() but it doesn't ...
Z-i-n-k-s's user avatar
0 votes
0 answers
16 views

Aggregate vs Populate methods when to use one in nodejs Mongose

I am creating asset managment tool for warehouse and I have Warehouse , Asset, Category models. I want to get the overall stats of each warehouse like , total assets and how many of them is active or ...
Ali's user avatar
  • 1
0 votes
1 answer
23 views

Ways to create a login using nodejs

So i am learning nodejs i am trying to create a login here what I made so far it works it connects to mongodb and check if the field if same then changing the allow variable to true any ways to create ...
Shanxx's user avatar
  • 33
-2 votes
0 answers
20 views

Server is started successfully but getapi is not loading in nodesjs [closed]

I am working on an Express.js application and encountered an issue with routing. Here is what I have done so far: Controller: exports.dummyLink = (req, res) => { res.send("this is your dummy ...
Rahul Raj's user avatar
0 votes
0 answers
10 views

IIS Reverse Proxy with NextJS + NodeJS API

I have an NextJS website running on a Windows Server on port 3000. I've setted the URL Rewrite to redirect all the requests to port 3000 on the server and everything works fine, the Frontend works ...
OCEANBLUE's user avatar
0 votes
0 answers
29 views

How to properly package a Node.js and React app stripping the container of all unneeded files?

I have a Node.js backend that serves up the React frontend (later I can do CDN probably) and for now, I plan on disallowing CORS so React must talk to my Node.js backend only. The prototype for this ...
Dean Hiller's user avatar
  • 19.8k
0 votes
0 answers
12 views

Ngxin does not return real ipv4 behind cloudlfare (nginx+express+cloudflare)

I want to get ipv4 of clients instead of ipv6 And I use express in nodejs and my domain behind cloudflare This is my nginx: server { server_name xxx.xxx.xxx www.xxx.xxx.xxx; # cloudflare ...
new of man's user avatar
0 votes
0 answers
27 views

CORS error with deploying an express js server with vercel [closed]

Followed the instructions here to run an express server but I'm dealing with CORS errors when calling the backend via my next js app. How can I make this work? Suggestions for alternate deployment ...
Vayun's user avatar
  • 91
0 votes
1 answer
38 views

Getting 404 AxiosError: Request failed with status code 404

Could you please help me to solve the problem with the routes. In result I have the next code: // server/index.js // server/index.js const express = require('express'); const bodyParser = require('...
Yarik's user avatar
  • 1
0 votes
0 answers
19 views

Shopify Customer Account API: "client_id invalid" Error on Authorization Request

I'm trying to implement the Shopify Customer Account API following the Shopify documentation here. I'm currently working on the authorization step, where I need to redirect a customer to the login ...
Dhairya Sehgal's user avatar
-1 votes
0 answers
21 views

Uncaught SyntaxError: Unexpected token '<' - swagger

I have included swagger in express and deployed on vercel. Swagger is working fine locaally but giving Uncaught SyntaxError: Unexpected token '<' in browser console when i deploy app to vercel. ...
Aqeel Nasrullah's user avatar
0 votes
0 answers
22 views

Delayed and incorrect updates from react context to backend

I am creating a food ordering application as project. Here, user can add items from a single restaurant only. If they tried adding items from another restaurant too, they will be shown an alert ...
Vidhi Mathur's user avatar
0 votes
0 answers
29 views

FFMPEG - Error during conversion: Input stream error: Status code: 403

const express = require('express'); const ytdl = require('ytdl-core'); const ffmpeg = require('fluent-ffmpeg'); const ffmpegStatic = require('ffmpeg-static'); const app = express(); app.use(express....
SOURABH UPRETI's user avatar

15 30 50 per page
1
2 3 4 5
5185