471,632 questions
0
votes
0
answers
9
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\...
7
votes
2
answers
1k
views
node-fetch automatic gzip decompression
My question is if i make a request using the node-fetch library with header Accept-Encoding:'gzip', does node-fetch handle automatic decompression of the response data?
75
votes
13
answers
83k
views
How do I shut down a Node.js http(s) server immediately?
I have a Node.js application that contains an http(s) server.
In a specific case, I need to shut down this server programmatically. What I am currently doing is calling its close() function, but this ...
11
votes
6
answers
17k
views
Cannot find module '../lib/tsc.js' when releasing typescript application to azure
I'm trying to release a typescript application to a Azure App Service running on Linux. I'm doing this using Azure DevOps. I've setup a build and release pipeline which succeed, but when I visit the ...
-1
votes
1
answer
84
views
Made a rag on flowise
I have prepared two chatflows in flowise. One is Vector RAG in which the last module is QARetreivalChain which outputs a runnable class. Second is Graph rag using Neo4j and GraphCypherChain which also ...
0
votes
2
answers
14k
views
Why am I getting the 'SyntaxError: Cannot use import statement outside a module' error while using the cloudinary module?
I am trying to call the cloudinary module to resize an image. This is my code:
import cloudinary from 'cloudinary';
var cl = new cloudinary.Cloudinary({ cloud_name: "username", secure: true }...
1
vote
2
answers
2k
views
Nodejs form submission Throwing internal server error: streams not readable
I am working on a project which requires form submission (Registration and Login), my server is working properly and also connected to my MongoDB every other thing works fine but while trying to ...
-3
votes
1
answer
62
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 ...
0
votes
2
answers
476
views
Node red custom node that incorperates existing node red nodes
I was wondering if there is any way to add an existing node red node into a custom node. An example would be something like the tcp in node or the debug node. These nodes could be "wired" ...
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 ...
1
vote
1
answer
9k
views
Unexpected token '<', "<!DOCTYPE "... is not valid JSON. Utilizing express and parsing error. Any suggestions would be great
For the past few days, I have been attempting to solve this error. I am extremely baffled, as I have no idea why this isn't working. Any help or suggestions would be greatly appreciated.
When I ...
-2
votes
0
answers
26
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 ...
8
votes
2
answers
9k
views
Nodejs send multiple files per response
I want to send multiple files to the user per response. For example the user requests the index site, and the site needs some .png´s, the css and so on.
The user only get a package with all he needs....
2
votes
1
answer
250
views
MCP error -32001 (Request timed out) when connecting Claude to Node.js MCP server
I am developing an MCP server with Node.js, Express /Typecript. The server should receive and process connections from Claude Desktop (client) via HTTP /mcp.
The server starts successfully, Claude ...
-1
votes
0
answers
40
views
Access Google Cloud Storage Bucket Generation 2 Run Cloud Function Firebase App [closed]
I am updating a version one cloud function to generation 2 cloud run, which is no longer working. I'm getting the error failed to import the @google-cloud/storage library (version 7.16.0 is installed ...