All Questions
Tagged with javascript node.js
27
questions
1
vote
1
answer
321
views
What program is behind "Node.js JavaScript Runtime" accessing my files (downloading cloud OneDrive files)?
(Note: This is probably not connected to OneDrive, but OneDrive is letting me see my files are being accessed. It may help others search this same issue if it happens to them.)
Every reboot of my ...
2
votes
0
answers
820
views
After loading Root Certs, loaded==false: NSS error code: -8018
Certificates are a very complicated issue. After a lot of tries and victories to run a open source in Linux called FreedomGPT, I received this error related to NSS certificate. More details showed in ...
0
votes
0
answers
426
views
Why is a video created by FFmpeg from static image is rejected by YouTube?
I am trying to input a image.jpg file and audio file.
I need output as video of 1080p quality.
Recently I tried the command given in ffmpeg doc Encode/YouTube and got the output.
ffmpeg -loop 1 -...
1
vote
1
answer
3k
views
How do I install or use NPM in Windows Subsystem for Linux?
I have the following error when I try to run my node.js project:
ENV@ENV-L7490:/mnt/c/Users/ENV/source/Project$ npm i
: not foundram Files/nodejs/npm: 3:
: not foundram Files/nodejs/npm: 5:
/mnt/c/...
1
vote
1
answer
70
views
Will running a computer program perpetually damage my computer?
I've written a Node.JS script for a Twitter bot that I made recently. It sends a tweet to the Twitter API at the top of every hour. I plan on running this in my command prompt perpetually, but am ...
0
votes
0
answers
213
views
How to debug node js applications
I have a nodeJS app It queries the Database(mysql) and makes certain API calls. On a load test two things happen:
It just stops responding for some users
The variables for some users are overwritten ...
0
votes
0
answers
42
views
How do I run these js files?
I am sorry this is a silly question but was just looking for a quick short answer. I have no coding experience. The screenshot attached is a list of folders and files for a frontend website. How and ...
0
votes
1
answer
2k
views
Cannot find module (node.js / npm)
I run the command "node run index.js" but I keep getting met with an error saying:
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'C:\Users\giann\Desktop\Bot\run'
...
0
votes
1
answer
662
views
Webstorm LiveEdit not updating js files
When I am attempting to change my node server code and view it to live edit, I use the following address: http://localhost:63342/untitled4/app.js
but instead of the code running, I just get a text ...
1
vote
1
answer
2k
views
PM2 god daemon exists (Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory)
I've updated pm2 from 2.10.1 to 3.5.1. The god daemon process gets high memory usage comparing with the old version. Also about 15 minutes after start the pm2 suddenly kills with the following error.
...
0
votes
0
answers
415
views
How to stop terminal from closing automatically and open embedded in the code editor
I installed a plugin, and now when I use npm (node package manager) it changed terminal to open in an external program, runs it's code, and close it instead of appearing in the embedded terminal so I ...
1
vote
2
answers
2k
views
Nodejs inspect port 127.0.0.1:9229 timing out
Node.js Version: 12.2.0
OS: Windows 10
Using: VSC
I'm trying to use the debugger through chrome and it keeps giving me this error
$ node inspect app.js
Timeout (2000) waiting for 127.0.0.1:9229 to ...
0
votes
1
answer
2k
views
Error when using the sqlite3 module in electron
An error occurs when trying to use the NPM package sqlite3 in Electron. What can I do to get electron-builder to run? Or what can I do to use sqlite3 in electron ?
My development environment is
...
1
vote
1
answer
2k
views
Adding a custom title bar to Electron project
I am new to electron and node.js so I have decided to build an app that extracts critical information about the OS, CPU, RAM, GPU, etc. (yes like CPU-Z, GPU-Z and Speccy)
I wanted to use the VS Code ...
0
votes
1
answer
1k
views
Using Node.js to SSH and then telnet from within the SSH session
At my job, we frequently need to SSH into a linux server and from within the session, telnet to another modem/router and execute various commands.
My question is, would it be possible to do this ...