All Questions
Tagged with deployment node.js
1,891
questions
-2
votes
0
answers
18
views
Hosting Service for HTML, CSS, JS, Node.js, and MySQL Project [closed]
I have developed a fully functional website on my local machine using VS Code with HTML, CSS, SCSS, JavaScript, Node.js, and MySQL as the database. Now, I want to deploy this website on the internet ...
0
votes
1
answer
56
views
Why can't we deploy to the app engine with nodejs version 20?
Since this morning we are not able to deploy to the app engine on GCP.
We recieve this kind of error message.
ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: Error(s) encountered validating runtime. Your ...
-1
votes
0
answers
15
views
How to Properly Use Cookies for Authentication in a Web Application?
I'm working on a web application and need guidance on using cookies for authentication.
Note: I am a student so I might be missing some obvious points so please point them out if there are any.
I ...
-1
votes
2
answers
25
views
index js code appears on the home page in vercel deployment
I am working on an ecommerce app using mern stack.
I tried deploying it on vercel but for some reason the homepage shows the index js code and no other routes work, neither the api routes nor the ...
-1
votes
1
answer
32
views
How can I deploy my nodejs (with typescript) backend on vercel?
I have designed backend of my MERN application using typescript with all the configurations required for ts. Following is hierarchy of my project:
Following is my tsconfig.json.
{
"...
0
votes
0
answers
7
views
Cannot deploy strapi app to cpanel using phusion passenger
I have old version of cpanel having node 16. I am trying to deploy strapi app but it keeps on failing
I have just create a zip of code and than uploaded it to document root, after that I click on ...
0
votes
0
answers
17
views
Issues with CORS and HTTP Requests in Vercel Deployment for Node.js and MongoDB Backend
I'm facing issues with CORS and HTTP requests in my project deployed on Vercel. The project involves a Node.js backend (node-backend.vercel.app) and a frontend (frontend-part.vercel.app). I have ...
0
votes
1
answer
26
views
How to pretend to render any Components of root Layout.js to an specific route in Next.js?
I'm working in Next.js, in my root Layout.js file I added some Components, and they are rendering in my all the routes as I expected.
But I have a route /mobile, where I want want these Components to ...
0
votes
1
answer
61
views
My dockerfile for deploying my angular app doesnt start the app using a web server either nodeJs or nginx
i have finished my work on an angular project and i need to deploy it using docker , i followed the instructions and made sure that the dockerfile is correct using multiple sources .
i tried to use ...
0
votes
1
answer
25
views
Render not hosting backend client
I was trying to deploy my mern stack website using render . When I was deploying my backend repository , I am facing a port error,
I deployed my backend, repo so it gave me the backend link. I ...
0
votes
0
answers
23
views
Mongodb query doesn't post or put data in deploy
I'm developing a simple forum website. It has a react frontend + node backend, with mongodb cloud as database and AWS Cognito for signup/ verification/ sign in. When a user signs up: 1. create a user ...
0
votes
0
answers
20
views
404 Not found error on vercel nodejs deployment
I am trying to host my nodejs backend on vercel, I am getting 404 Not Found when I make an api call. here's my vercel.json file:
{
"version": 2,
"builds": [
{ "src&...
0
votes
1
answer
65
views
How to connect Sequelize to Google Cloud SQL database when I have deployed my Node.JS backend api?
I have a Node.js + Express backend API, and I use Sequelize ORM to query my database. My database runs on google cloud SQL and I use the MySQL dialect.
So here is my index.js now where I initialize ...
0
votes
0
answers
10
views
Error deploying MERN stack app to Vercel/Render: Cannot find module './mongodb_oidc/azure_machine_workflow'
I'm currently developing an application using the MERN stack, and I'm in the process of deploying it. Everything works well locally. However, when I try to deploy it to Vercel or Render, I encounter ...