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

Questions tagged [node.js]

Node.js is an event-based, non-blocking, asynchronous I/O runtime that uses Google's V8 JavaScript engine and libuv library. It is used for developing applications that make heavy use of the ability to run JavaScript both on the client as well as on the server side and therefore benefit from the re-usability of code and the lack of context switching.

0 votes
0 answers
6 views

sh 'npm install' cmd not working in jenkins pipeline. Note: jenkins is installed inside windows

I am writing a simple jenkins files to test, build and deploy angular application. but my jenkins pipeline is failing at sh 'npm install' Here is my jenkins pipeline script pipeline { agent any ...
Aakash Giri's user avatar
0 votes
0 answers
10 views

EJS isn't being rendered

I'm making a rock, scissors, paper game on the backend of Node.js with express server, frontend.js client-side, index.ejs and main.css files. I firstly want to render a string line of the result of ...
Yuval Yanay's user avatar
1 vote
1 answer
8 views

No version matching "^11.0.0" found for specifier "remark-rehype" (but package exists)

I tried to install react-markdown using bun. But I get the following error: $ bun i react-markdown bun add v1.1.20 (ae194892) error: No version matching &...
The Pythonious Guy's user avatar
0 votes
0 answers
10 views

How to send a Bearer Token from front-end to back-end

My back-end is already working ,I tested it in Postman but I don't know how to get the Bearer Token,which is in front-end; I am using httpOnly and withCredentials. NODE: MiddleWare: const jwt = ...
Guilherme Peixe's user avatar
0 votes
0 answers
6 views

Error: libnut.node is not a Win32 application

Uncaught Error: \\?\C:\Users\user\Autoclicker\esdeath\out\snowflake-win32-ia32\resources\app.asar.unpacked\node_modules\@kirillvakalov\nut-tree__libnut-win32\build\Release\libnut.node is not a valid ...
Adapt's user avatar
  • 11
0 votes
0 answers
8 views

Playing audio node. play.ai

Based on the details from play.ai's docs, it should be easy to play base64 audio but I'm running into issues. I am using nuxtjs. These are the docs myWs.on('message', (message) => { const event = ...
Warren's user avatar
  • 23
0 votes
0 answers
10 views

More verbose output of native module build phase during yarn install

My yarn install --frozen-lockfile --verbose is getting hung at what seems to be the native module/gyp build phase and I can't figure out why. I've tried export npm_config_loglevel=verbose before ...
rynop's user avatar
  • 52.5k
0 votes
0 answers
8 views

NodeJS WebRTC - RTCAudioSource - Expected a .byteLength of 480, not 2770

I'm trying to have my nodejs backend act as a peer that streams pcm audio to the browser via webrtc (https://github.com/WonderInventions/node-webrtc). (let's assume it's the only way to achieve what I ...
Royi Bernthal's user avatar
0 votes
0 answers
12 views

Serving static files directly in Google App Engine with express

I have a standard Google App Engine environment and am trying to serve some static files for my create-react-app frontend, but I'm not able to do so without copying over the client/build/ files into ...
selroh18's user avatar
0 votes
0 answers
9 views

Problem recovering image, local drive - VPS

I recently uploaded my API to a VPS, and I'm having trouble recovering the images that are being saved locally. Whenever I try to open the image URL, I get a 404 Not Found error. I'm not saving the ...
Leo Gonzalez's user avatar
0 votes
0 answers
15 views

Cannot find module 'index'\nRequire stack:\n- /var/runtime/index.mjs Error on AWS lambda

I am trying to invoke a lambda function on AWS but I am getting the error: "Error: Cannot find module 'index'\nRequire stack:\n- /var/runtime/index.mjs" Folder structure: enter image ...
Shreya's user avatar
  • 1
0 votes
0 answers
7 views

How to create an API authorization with the latest IOS SST and AWS

I want to create an API with the new SST v3 aka ION SST. Docs don't say much about auth-related things and I feel confused. I have a separate Next.js app and now I want to create a backend ...
Karol's user avatar
  • 620
0 votes
0 answers
8 views

Extrange problem with URL command line parameters on Electron app

I have discovered that if you pass a URL parameter using the command line to an Electron app, it must be the last one. If this condition is not met then electron fails to load the application and ...
Jesús López's user avatar
-2 votes
0 answers
9 views

Displaying host machine info with docker container

I have nextjs app and im using nodejs os to gather system info about totalram cpu etc. How i can make it work with docker cause if i run my app with docker compose on my app ui i see ram allocated to ...
Teeco's user avatar
  • 11
0 votes
0 answers
10 views

aws ec2 nginx reverse proxy to nodejs allow cors not working

I tried a couple of examples: /etc/nginx/conf.d/default.conf server { listen 80; server_name ec2ip; set $cors_origin ""; set $cors_cred ""; set $cors_header ...
Steve Tomlin's user avatar
  • 3,683

15 30 50 per page
1
2 3 4 5 6