Trending questions in Node-js

0 votes
1 answer

Wrong stacktrace when using longjohn in nodejs

It happens without longjohn, too. I don't exactly know ...READ MORE

Jun 7 in Node-js by Neha
• 8,940 points
98 views
0 votes
1 answer

nodejs (twit) how do you follow a users LIVE twitter stream?

In the following argument, you must use ...READ MORE

May 30 in Node-js by Vaani
• 7,020 points
421 views
0 votes
1 answer

What is Node.js? [closed]

At work, I use Node.js and find ...READ MORE

Jun 7 in Node-js by Neha
• 8,940 points
74 views
0 votes
1 answer

nodejs digest authentication failing

The problem is the charset output (default ...READ MORE

Jun 7 in Node-js by Neha
• 8,940 points
217 views
0 votes
1 answer

Get array of synonyms from natural nodes's wordnet - NodeJS

You can't return values in an async ...READ MORE

Jun 7 in Node-js by Neha
• 8,940 points
147 views
0 votes
1 answer

How to use textLocal API with NodeJS and sequelize to send OTP on mobile

Use request npm to create a http ...READ MORE

May 27 in Node-js by Neha
• 8,940 points
463 views
0 votes
0 answers

Unable to preventDefault inside passive event listener

I am trying on some built-in events: ...READ MORE

May 12 in Node-js by Kichu
• 19,040 points
1,181 views
0 votes
1 answer

Extending a middy middleware function in nodejs

Your pseudocode comes close to being correct. ...READ MORE

May 30 in Node-js by Vaani
• 7,020 points
333 views
0 votes
1 answer

What is the role of Nodejs and Express in a MERN stack web application when GraphQL is also used?

Node.js is a JavaScript runtime environment, which ...READ MORE

May 27 in Node-js by Neha
• 8,940 points
448 views
0 votes
1 answer

Is there a way to download videos from YouTube Studio using NodeJS

Try this project in the github repository ...READ MORE

May 27 in Node-js by Neha
• 8,940 points
424 views
0 votes
1 answer

How to host MEAN stack application with Angular and nodejs on windows IIS

It's fine that you're using Angular. Be ...READ MORE

May 27 in Node-js by Neha
• 8,940 points
381 views
0 votes
1 answer

Making POST request to discord server in nodejs

You'll need to solve the captchas; I ...READ MORE

May 30 in Node-js by Vaani
• 7,020 points
242 views
0 votes
1 answer

Installing angularjs with NPM and NODEJS brings an error in ubuntu 16.04

Rename your angular folder to angular-test or ...READ MORE

May 30 in Node-js by Vaani
• 7,020 points
241 views
0 votes
1 answer

NodeJS download slower than chrome Possible to simulate browser

It appears that the browser is not ...READ MORE

May 30 in Node-js by Neha
• 8,940 points
169 views
0 votes
1 answer

Nodejs instagram-web can't save login session locally

There are several things you can do: Dictionary ...READ MORE

May 27 in Node-js by Neha
• 8,940 points
208 views
0 votes
1 answer

How to detect 4G dongle(s) connected to my computer using NodeJs?

I was able to get a list ...READ MORE

May 30 in Node-js by Vaani
• 7,020 points
65 views
0 votes
0 answers
0 votes
1 answer

NodeJS - Upload ~36MB file to VirusTotal failing

The VirusTotal file/scan API request has a ...READ MORE

May 27 in Node-js by Neha
• 8,940 points
109 views
0 votes
1 answer

nodejs Async's whilst

While it will accomplish your goals, it ...READ MORE

May 27 in Node-js by Neha
• 8,940 points
90 views
0 votes
0 answers

How to fix 'Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.'

Whenever I load any page of my ...READ MORE

May 12 in Node-js by Kichu
• 19,040 points
734 views
0 votes
0 answers

"Cannot GET /" with Connect on Node.js

I am using connect to serve some ...READ MORE

May 12 in Node-js by Kichu
• 19,040 points
285 views
0 votes
1 answer

How to update a value in a json file and save it through node.js?

Hello @kartik, It's particularly useful if you're concerned ...READ MORE

Oct 12, 2020 in Node-js by Niroj
• 82,800 points
20,062 views
0 votes
1 answer

How to clean node_modules folder of packages that are not in package.json?

Hello @kartik, You could remove your node_modules/ folder ...READ MORE

Jul 13, 2020 in Node-js by Niroj
• 82,800 points
23,865 views
0 votes
1 answer

How do I add a custom script to my package.json file that runs a javascript file?

Hello @kartik, I have created the following, and ...READ MORE

Jul 16, 2020 in Node-js by Niroj
• 82,800 points
22,992 views
0 votes
1 answer

npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Niroj\package.json'

Hello @kartik, If you already have package-lock.json file just delete ...READ MORE

Oct 13, 2020 in Node-js by Niroj
• 82,800 points
19,011 views
0 votes
1 answer

How to clear https proxy setting of NPM?

Hello @kartik, By running npm config rm proxy you remove ...READ MORE

Jul 14, 2020 in Node-js by Niroj
• 82,800 points
22,478 views
0 votes
1 answer

How to append to New Line in Node.js

Hello @kartik, you're running this on Windows (given ...READ MORE

Sep 7, 2020 in Node-js by Niroj
• 82,800 points
19,662 views
0 votes
1 answer

How to force tsc to ignore node_modules folder?

Hello @kartik, Quickfix is to skip the check { ...READ MORE

Oct 14, 2020 in Node-js by Niroj
• 82,800 points
17,436 views
0 votes
1 answer

How to fill an input field using Puppeteer?

Hello @kartik, Just set value of input like ...READ MORE

Oct 16, 2020 in Node-js by Niroj
• 82,800 points
16,368 views
0 votes
1 answer

How can I set NODE_ENV=production on Windows?

Hello @kartik, It would be ideal if you ...READ MORE

Jul 13, 2020 in Node-js by Niroj
• 82,800 points
20,228 views
0 votes
1 answer

How to restart a node.js server?

Hello @kartik, If it's just running (not a ...READ MORE

Oct 12, 2020 in Node-js by Niroj
• 82,800 points
14,029 views
0 votes
1 answer

How do I redirect in expressjs while passing some context?

Hello @kartik, The easiest way I have found ...READ MORE

Jul 14, 2020 in Node-js by Niroj
• 82,800 points
17,226 views
0 votes
1 answer

How to set environment variables from within package.json?

Hello @kartik, Set the environment variable in the ...READ MORE

Jul 13, 2020 in Node-js by Niroj
• 82,800 points
17,015 views
0 votes
1 answer

How to check if a collection exists in Mongodb native nodejs driver?

Hello @kartik, The collectionNames method of the native driver's Db object accepts ...READ MORE

Nov 27, 2020 in Node-js by Niroj
• 82,800 points
11,072 views
0 votes
1 answer

How to extract request http headers from a request using NodeJS connect?

Hello @kartik, To see a list of HTTP ...READ MORE

Jul 15, 2020 in Node-js by Niroj
• 82,800 points
16,588 views
0 votes
1 answer

Error:node.js /socket.io/socket.io.js not found

Hello @kartik, Copying socket.io.js to a public folder (something as resources/js/socket.io.js) ...READ MORE

Nov 27, 2020 in Node-js by Niroj
• 82,800 points
9,937 views
0 votes
2 answers

Error:'TypeError: is not a function' in Node.js

You are exporting module.exports.redir = redir; That means that ...READ MORE

Oct 21, 2020 in Node-js by anonymous
• 140 points
11,351 views
+1 vote
1 answer

How to restore/reset npm configuration to default values?

Hello @kartik, To reset user defaults Run this in ...READ MORE

Oct 12, 2020 in Node-js by Niroj
• 82,800 points
11,295 views
0 votes
1 answer

How to Inject nestjs service from another module?

Hii, You have to export the ItemsService in the module that provides ...READ MORE

Nov 27, 2020 in Node-js by Niroj
• 82,800 points
9,146 views
0 votes
1 answer

Error:NPM global install “cannot find module”

Hello @kartik, I got this error Error: Cannot find ...READ MORE

Jul 16, 2020 in Node-js by Niroj
• 82,800 points
13,891 views
0 votes
1 answer

Error:npm-cli.js not found when running npm

Hello @kartik, You need to run this in ...READ MORE

Sep 7, 2020 in Node-js by Niroj
• 82,800 points
11,587 views
0 votes
1 answer

How to read binary files byte by byte in Node.js?

Hello, Here is an example of fs.read()-ing the first ...READ MORE

Nov 27, 2020 in Node-js by Niroj
• 82,800 points
7,799 views
0 votes
1 answer

How to use an include with attributes with sequelize?

Hello @kartik, Something like this should work foo.findAll({ ...READ MORE

Oct 13, 2020 in Node-js by Niroj
• 82,800 points
8,689 views
0 votes
1 answer

Error:“NODE_ENV” is not recognized as an internal or external command, operable command or batch file

Hello @kartik, It sounds like your error comes ...READ MORE

Jul 16, 2020 in Node-js by Niroj
• 82,800 points
12,524 views
0 votes
1 answer

Error: Cannot find module 'mongodb'

Hello @kartik, The error you are getting indicates ...READ MORE

Oct 15, 2020 in Node-js by Niroj
• 82,800 points
8,068 views
0 votes
1 answer

How to Pass route control with optional parameter after root in express?

Hello @kartik, That would work depending on what ...READ MORE

Oct 12, 2020 in Node-js by Niroj
• 82,800 points
8,219 views
0 votes
1 answer

How to get the _id of inserted document in Mongo database in NodeJS?

Hello @kartik, A shorter way than using second ...READ MORE

Sep 7, 2020 in Node-js by Niroj
• 82,800 points
9,532 views
0 votes
1 answer

How can I format a date coming from MongoDB?

Hello @kartik, JavaScript has built-in support for dates. ...READ MORE

Nov 30, 2020 in Node-js by Niroj
• 82,800 points
5,707 views
0 votes
1 answer

How do you run a js file using npm scripts?

Hello @kartik, Try this: { "scripts" : { ...READ MORE

Oct 12, 2020 in Node-js by Niroj
• 82,800 points
7,484 views
0 votes
1 answer

Error:sudo: npm: command not found

Hello @kartik, I had the same problem; here ...READ MORE

Jul 15, 2020 in Node-js by Niroj
• 82,800 points
10,580 views