Trending questions in Node-js

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, 2022 in Node-js by Vaani
• 7,070 points
1,263 views
0 votes
0 answers

How do I set up parsely with nodejs?

For days, I've been working on form ...READ MORE

Jun 21, 2022 in Node-js by Vaani
• 7,070 points
345 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, 2022 in Node-js by Neha
• 9,020 points
1,048 views
0 votes
1 answer

How to get Synonym for small sentence using Python/NodeJS/Java?

Compound words are supported by WordNet, however ...READ MORE

Jun 13, 2022 in Node-js by Neha
• 9,020 points
639 views
0 votes
1 answer

Can I display a TV channel from TV tuner card using NodeJS for an Electron APP?

Tvheadend is a streaming server for live ...READ MORE

Jun 10, 2022 in Node-js by Neha
• 9,020 points
762 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, 2022 in Node-js by Vaani
• 7,070 points
1,208 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, 2022 in Node-js by Neha
• 9,020 points
1,302 views
0 votes
1 answer

File Download on NodeJS with use opensubtitles API

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

Jun 7, 2022 in Node-js by Neha
• 9,020 points
958 views
0 votes
1 answer

codewithmosh NodeJS course asks me a few times to change my NODE_ENV - doesn't work on windows?

The solution you require is straightforward. You must ...READ MORE

Jun 14, 2022 in Node-js by Neha
• 9,020 points
470 views
0 votes
1 answer

nodejs digest authentication failing

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

Jun 7, 2022 in Node-js by Neha
• 9,020 points
884 views
0 votes
1 answer

Extending a middy middleware function in nodejs

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

May 30, 2022 in Node-js by Vaani
• 7,070 points
1,041 views
0 votes
1 answer

Nodejs Event Loop

I've been reading the source code for ...READ MORE

Jun 10, 2022 in Node-js by Neha
• 9,020 points
564 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, 2022 in Node-js by Vaani
• 7,070 points
942 views
+1 vote
0 answers

'node' is not recognized as an internal or an external command, operable program or batch file while using phonegap/cordova

I am using PhoneGap/Cordova. I have also ...READ MORE

May 12, 2022 in Node-js by Kichu
• 19,050 points
1,746 views
0 votes
1 answer

flatting and sorting nested arrays In javascript nodejs

Try this: let myarray = [ [ [ ...READ MORE

Jun 9, 2022 in Node-js by Neha
• 9,020 points
498 views
0 votes
1 answer

NodeJS express get request is not working on mobile

For your API call, try to add ...READ MORE

Jun 9, 2022 in Node-js by Neha
• 9,020 points
496 views
0 votes
0 answers

Unix xxd -r -p command NodeJS equivalent

I'm attempting to convert an encrypted shell ...READ MORE

Jun 9, 2022 in Node-js by Vaani
• 7,070 points
505 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, 2022 in Node-js by Neha
• 9,020 points
1,008 views
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, 2022 in Node-js by Neha
• 9,020 points
471 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, 2022 in Node-js by Neha
• 9,020 points
871 views
0 votes
1 answer

What is Node.js? [closed]

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

Jun 7, 2022 in Node-js by Neha
• 9,020 points
451 views
0 votes
1 answer

NodeJS - Upload ~36MB file to VirusTotal failing

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

May 27, 2022 in Node-js by Neha
• 9,020 points
822 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,880 points
30,228 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,880 points
30,188 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, 2022 in Node-js by Vaani
• 7,070 points
508 views
0 votes
1 answer

nodejs Async's whilst

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

May 27, 2022 in Node-js by Neha
• 9,020 points
554 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,880 points
25,895 views
0 votes
0 answers

"Cannot GET /" with Connect on Node.js

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

May 12, 2022 in Node-js by Kichu
• 19,050 points
906 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,880 points
24,328 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,880 points
23,716 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,880 points
22,661 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,880 points
20,169 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,880 points
23,867 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,880 points
23,895 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,880 points
23,137 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,880 points
19,279 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
17,223 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,880 points
14,710 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,880 points
20,190 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,880 points
14,197 views
0 votes
1 answer

How to stop node.js program from command line?

Hello @kartik, Ctrl+Z suspends it, which means it can ...READ MORE

Jul 15, 2020 in Node-js by Niroj
• 82,880 points
19,987 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,880 points
13,281 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,880 points
14,902 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,880 points
14,235 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,880 points
12,209 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,880 points
13,187 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,880 points
16,393 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,880 points
13,722 views
0 votes
2 answers

Error:npm UNMET PEER DEPENDENCY warning

Finding the compatible versions of related packages ...READ MORE

Aug 13, 2020 in Node-js by anonymous
• 140 points
15,019 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,880 points
9,222 views