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

All Questions

Tagged with
2 votes
2 answers
33 views

Issues with Image Upload in Express.js Using Multer

I am developing an Express.js application and trying to add the facility of image upload by Multer. I am getting some issues, so any kind of help will be appreciated. Problem: The file doesn't upload, ...
Aminul Islam's user avatar
0 votes
0 answers
23 views

Tailwind not compiling new classes [closed]

I'm doing a project with Express and Tailwind, and after sometime, i've noticed that tailwind wasn't compiling new utility classes, but only others who were already being used. Did someone already had ...
Bigborg's user avatar
1 vote
0 answers
35 views

Why does my `updateCartUIWithNewData` function fail to update cart items correctly in vanilla JavaScript?

I'm working on an e-commerce website and trying to update the shopping cart UI when the cart data changes. I have a function updateCartUIWithNewData that is supposed to handle this, but it doesn't ...
BrainDebugger's user avatar
-1 votes
1 answer
58 views

How to prevent Express from adding a slash to the route of the URL

I noticed that when I have a route and a sub directory of the same name Express / Nodejs will change the URL when visiting that page in the browser. For example, if I have a route named foo and then I ...
1.21 gigawatts's user avatar
-2 votes
0 answers
45 views

Express static css files is not load in handlebars

App.js -> main js express file so I make like this const express = require('express'); const app= express(); app.use(express.static('public')) Main Layou -> main Layout handlebar file , i add a ...
Vicky X's user avatar
0 votes
1 answer
21 views

trix autofocus issue on expreessJS/ejs

I'm building a blog, with NodeJS/Express, and use Trix editor to handle writing and editing the blog posts. while attempting to edit a post trix rich text area automatically fouces; not allowing any ...
Kenan's user avatar
  • 23
0 votes
1 answer
48 views

InnerHtml is not display on Screen

` I am working on a web project using HTML and Bootstrap, but my content is not displaying in the browser.Here is my code: ` let str = "" for (let item of r.articles) { str = ...
Yadnyesh-Dashpute's user avatar
-1 votes
1 answer
65 views

Images won't load

I'm working on a project and the user uploads their images (path is saved in MySQL) and the image itself is saved in a directory named uploads. I have my HTML CSS and JavaScript files stored in /var/...
gvnsvn's user avatar
  • 1
0 votes
0 answers
58 views

Why is TailwindCSS not being applied to things inside of my body tag?

I am using NodeJs, TailwindCSS, and ExpressJS to build a personal website. I am pretty new to this. I have an index.ejs file: <!DOCTYPE html> <html> <head> <title><%= data....
Julien P's user avatar
0 votes
1 answer
48 views

Text from mongodbisn't being displayed to page

I'm making a chat app project and am having problems with displaying the data from my local mongoDB database to the page. Specifically i'm trying to display the sender, message and timestamp which is ...
MortalChris's user avatar
0 votes
4 answers
75 views

Starting server loads HTML but not CSS or JPG

This is server.js which I am starting in cmd using node server.js: const express = require("express"); const path = require("path"); const app = express(); const port = 3000; app....
Tomislav Kušek's user avatar
0 votes
1 answer
65 views

Register Form - Input data fetches 'Null' values from frontend to database (Express/PostgreSQL)

I am trying to get the user's information with a registration form from the frontend and save it to the database. However, each user entry results as a complete Null object in the terminal and a null ...
Arda Soysal's user avatar
0 votes
1 answer
17 views

Error with React deployment on express server

I've created a simple react website and express server on which I want to deploy my website and make it accessible by the URL, I can see that scripts and css are loading in networks, also I can see ...
Ruslan Makhmatov's user avatar
0 votes
0 answers
28 views

HTML encoding and decoding in react native

I am making a texting app in react native, who's data could be accessed via my website for mods. so in my NodeJS server, when a body is passed in, I used a package that auto-converts characters like &...
a_duck's user avatar
  • 9
0 votes
1 answer
31 views

Can't transfer data from React form to DATA.txt using Express

I try many things but it always gives me same error. I tried to change file path but it was pointless Currently my project looks like this:{nodemodules,public,scr(there are all files including App.jsx)...
Michael Hamar's user avatar

15 30 50 per page
1
2 3 4 5
154