2,526,549 questions
-1
votes
1
answer
34
views
process.env.<variable> not accessible
I have at the top of /src/index.js
import dotenv from "dotenv";
dotenv.config({path:"./.env"});
And this in /cloudinary.js
cloudinary.config({
cloud_name: process.env....
0
votes
0
answers
15
views
Blue grid / tile boundary lines appear during zoom after drawing shapes in @vis.gl/react-google-maps
I am using @vis.gl/react-google-maps with the Google Maps Drawing Library to draw polygons, rectangles, and circles.
The map works correctly, but blue grid lines (tile boundaries / projection seams) ...
-3
votes
0
answers
25
views
jsPDF: Uncaught TypeError: Cannot read property 'name' of undefined [closed]
I am referring to Uncaught TypeError: Cannot read property 'name' of undefined at tableToJson raised a couple of years ago - I do have exactly the same problem. I have searched the web ...
-2
votes
1
answer
58
views
node.js socket reconnection failed
I'm new in Socket.io;
connection successful, "emit" fires and "on" listens successfully from both sides. but when i reload my frontend, then the connection lost; i found repeatedly ...
0
votes
2
answers
38
views
Can AbortController be used with Fetch Post requests without automatically triggering a close event?
Question: Is it possible to use AbortController with POST requests without immediately triggering a 'close' event on the server? If not is there a more appropriate tool / method to cancel post ...
-5
votes
1
answer
40
views
Topic: HTML Project with AJAX, JQuery. Question about the download of Node modules [closed]
Context:
I'm an IT student, and in college, it's common to only use CDN to install libraries such as JQuery to the project. However, I think it's better to download the Node modules for my projects ...
-6
votes
0
answers
51
views
What javascript, blending mode and colourised raster images are required to make change a photo to any colour but retain lifelike appearance? [closed]
I have a raster image - Let's say a shirt:
I need to use html and css and javascript to change the colour of this shirt by way of an on-page colour picker. Infinite colour choices and live updating. ...
Best practices
0
votes
1
replies
47
views
What blending mode and colourised raster image are required to make a the raster image any colour but retain shading and natural lifelike appearance?
I have a raster image - Let's say a shirt:
I need to use html and css and javascript to change the colour of this shirt by way of an on-page colour picker.
I've looked at wikipedia about blending ...
Best practices
1
vote
1
replies
36
views
Splitting website css and js files into smaller riles or combining them in 2025
Whilst this question has been asked many times before there are seldom recommendation on it with modern browsers in 2025.
Example:
Total CSS for a website is 200kb.
Total JS is 100kb.
We know the ...
0
votes
1
answer
39
views
In Next.js App Router:, cookie set in server action is not available during initial client render
I encountered a unexpected behavior with cookies in a Next.js when setting a cookie inside a server action and attempting to read it during the initial render of a client component. The server action ...
-5
votes
0
answers
47
views
Invalid hook call. Hooks can... in Astro.js with React [closed]
I'm making a personal blog with Astro.js, and I'm using @astrojs/react to integrate React in my project.
I've searched web first, but I even can't locate where the error happend because I don't know ...
-3
votes
1
answer
55
views
Send a confirmation Email onFormSubmit in Google Forms [closed]
I am a beginner with Google App Script and JavaScript.
I am trying to send a confirmation email using the onFormSubmit trigger in Google Forms. The code is connected to the trigger and has been ...
-1
votes
0
answers
35
views
Trying to get these slide indicator dots to stay on the right [closed]
I am working on a portfolio project and im trying to get these slide indicator dots to stay on the right of the screen and in the middle of the slide. Ive currently got it on fixed, which i dont want ...
0
votes
0
answers
60
views
Schema validation failed with the following errors in Angular project
I have two similar Angular projects (both on Angular 20) and currently one of the projects when I run the npm run start command I am constantly getting the error below. Should I remove the package-...
1
vote
1
answer
31
views
React Native: Return value from Child Component to Parent while Child is receiving data from Parent
I was initially following this StackOverflow answer to obtain data from Child component but given how I had set the component up (based on another StackOverflow answer that I have since lost) i am not ...