471,575 questions
1
vote
0
answers
17
views
how to resolve "binding.node is not a valid win-32 application error" installing node-sass
I have a vuejs application, and when I npm install, it produces the following error:
npm error code 1
npm error path D:\Dev\Asm.Helios\Web\Aeos\ASM.Helios.Website.Winform-Component-Library\...
0
votes
0
answers
19
views
Playwright Run tests with report is continuously loading in case of failed test case 'Run Playwright tests with report'
I've developed mock website locally executing locally on 3000
And to test the website i have also started the automation with playwright in JS.
Both website and playwright test cases are setup with ...
-2
votes
0
answers
30
views
Why does require become require2 at runtime inside Vite's internal worker function? [closed]
Why does require become require2 at runtime inside Vite's internal worker function?
I'm using Vite (v7.0.6) to build a JavaScript library via Gulp.
While debugging an issue during the build process, I ...
-1
votes
1
answer
58
views
How to fsync a directory?
I have a write-ahead log that stores some metadata using atomic renames. Currently I am only fsyncing the file before rename, but it is my understanding that I should also be fsyncing the directory ...
0
votes
0
answers
35
views
How to securely connect Flutter to a Node.js server with TLS or RSA encryption?
I'm building a Flutter app that needs to send user data (like name and street) to a Node.js backend server. Currently, the data is sent via URL like this:
http://192.168.1.126:8080/save?name=toto&...
-3
votes
1
answer
31
views
Unable to see sign tab over the anchor tab for Docusign digital signature [closed]
I am using Node SDK for Docusign digital signature. I have specified the anchor string but when I send the document I amunable to see the sign tab over the anchor.
const envelopeDefinition = {
...
-3
votes
1
answer
65
views
How do I collect a list of links on page then iterate through and test each one?
I have a modal component that is used on a lot of pages on my site. I want to go through each page on my site, collect a series of links on that page which trigger the modal and test each one to see ...
-1
votes
1
answer
45
views
How to properly run seeds in Prisma 6+ using modern configuration with prisma.config.ts?
I'm using Prisma 6.13 in a project with NextJs and I want to implement the seed process using the new modern configuration approach prisma.config.ts as recommended by Prisma in recent versions.
I'm no ...
-2
votes
0
answers
26
views
MCP inspector tool do not have option to add input in Streamable HTTP mode
I have created a simple MCP server and accessing it via StreamableHTTPServerTransport.
I am not quite sure in the MCP inspector tool I do not see an option to add input parameters. Could someone ...
0
votes
0
answers
60
views
How the firestore support custom class and also custom class supoort FieldValue with typescript?
firestore nodejs sdk support custom class with typescript by withConverter. But only updateDoc support FieldValue, what about setDoc, addDoc?
for example:
class Post {
constructor(
...
-1
votes
0
answers
46
views
Error while trying to create JWT token in register API using TypeScript [duplicate]
Code:
const newUser = new User({
username,
email,
password: passwordHash,
organization: null,
designation: null,
role: "user",
});
await newUser.save();
const ...
-4
votes
0
answers
62
views
How do I use the files I uploaded to Google Drive via the API in an img HTML tag [duplicate]
I'm working on my first React full stack project, and I want to upload the media files (mainly images) on Google Drive, but also read and delete them. The uploading works fine, but when I try to ...
1
vote
1
answer
41
views
Canvas Sketch is not rendering the specified colour
The code works perfectly, including the animation. But I'm unable to change the background colour to anything except black when using rgb, hex or hsl codes. Only way to change the background colour is ...
1
vote
1
answer
71
views
Express.json() works on local but not on AWS Lambda
I've been struggling to parse the request body from POST. I tested the code locally via curl and returns the json body. On Lambda, I tried both curl and Postman but it just returned the buffer data.
...
1
vote
2
answers
48
views
NestJS @Public() decorator works on other routes but returns 401 Unauthorized on one route with @Res() response
I have a NestJS app with global JWT and Roles guards applied in main.ts. I use a custom @Public() decorator to mark public (unauthenticated) routes. The decorator works fine for most routes, but one ...