3,563
questions
-1
votes
0
answers
11
views
Issue with CORS when hitting API using LangChain.js with MERN stack [duplicate]
I am using LangChain.js in my MERN stack project and I am importing the following:
import { ChatGoogleGenerativeAI } from "@langchain/google-genai";
Scenario:
In my frontend, I am hitting ...
4
votes
0
answers
34
views
Cancel Backend Processing in Node.js When Client-Side Aborts Request (MERN Stack)
Overview
I am working on a MERN stack application, and I need help handling request cancellations in my Node.js backend, particularly when a client-side request is aborted.
Details
In my application, ...
-4
votes
0
answers
17
views
Issue Facing in making MERN stack based website
I have built an e-commerce website for my clothing brand. Initially, I used dummy pictures to develop the frontend and backend separately. The website is responsive. However, when I try to connect the ...
-1
votes
0
answers
15
views
Nextjs with WIX to build apps [closed]
I recently saw a tutorial where a YouTuber was making an ecommerce site using WIX SDK, and I really found it interesting and useful because the dashboard is very user-friendly for non-technical users, ...
1
vote
1
answer
54
views
Why the fetch gets failed even when I am using cors dependency?
Used just simple code which works properly fine as I have checked using localhost, but when I am trying to fetch the localhost from google console then the error is showing :
fetch('http://localhost:...
0
votes
1
answer
19
views
express-session production latency issue with passport.js and render.com
It works in localhost, but in production the authentication is quite slow and takes at least a few seconds so the user still sees the 'login' page and then it magically 'jumps' to the site.
The app is ...
-1
votes
0
answers
15
views
I have to make bandwidth management system on mern but i don't know much about how would i get data from the network and also how would i dictate it? [closed]
I am Intermediate in mern stack,I have to build a bandwidth management system on Mern, I had done somework front end and backend for dummy functionalities but the issue i am facing is how would i get ...
0
votes
1
answer
39
views
CSS files are getting applied to all the components in my react app, even after using CSS modules
I am making a react web-page about a Finance Planner and i have 4 components: Dashboard, Homepage, Login-page, and SignUp-page. What happened is i first coded the pages in basic HTML and CSS and then ...
0
votes
1
answer
40
views
Google OAuth pop-up disappears
I have developed a web auth application using Google OAuth. it was okay when i was developing it. but after hosting it when click on the continue with google button the google sign in pop up appears ...
-1
votes
0
answers
12
views
How to to fetch real time data in socket io
Can someone explain me that how to fetch real time onlineUser data in the code shown here?
Frontend code:
import "./Convo.css";
import React, { useEffect } from 'react'
import User from &...
0
votes
1
answer
22
views
How Connect to multiple collections in Mongoose?
I want to store books in a collection called books and users in a collection called users, but I don’t know how to do this in Mongoose.JS
config/db.js:
import mongoose from "mongoose"
...
0
votes
0
answers
27
views
Do I need to create two separate projects on FedEx Developer Portal to use FedEx Ship and Track APIs?
I am integrating both the FedEx Ship and Track APIs into my MERN stack web app. I have successfully created a project on the FedEx Developer Portal, enabled both APIs, and added the necessary ...
1
vote
1
answer
36
views
How to use multer to upload images with index?
I am creating a product with its variants. Variant is e.g a Shirt can has a variant of Blue color and XL size. So I need to upload its variants along with their images. If I send body like
variants : ...
0
votes
1
answer
71
views
How to deploy Node.js server on Vercel properly?
I am new in Next js and also in MERN stack; recently I have completed a mern stack LMS (Learning Management System) website using Next js for client (front end) and Node.js , Express, TypeScript for ...
0
votes
1
answer
45
views
Uncaught runtime errors: Network Error AxiosError
Uncaught runtime errors:
×
ERROR
Network Error
AxiosError: Network Error
at XMLHttpRequest.handleError (http://localhost:3000/static/js/bundle.js:476728:14)
at Axios.request (http://localhost:...