Most answered questions in Node-js

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,493 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
8,627 views
0 votes
1 answer

NodeJS / Express: what is "app.use"?

The app object is instantiated on creation ...READ MORE

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

How can i export socket.io into other modules in nodejs?

Because app.js is usually the main initialization ...READ MORE

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

nodejs mysql Error: Connection lost The server closed the connection

Try to use this code to handle server disconnect: var ...READ MORE

Jun 17 in Node-js by Neha
• 8,940 points
2,880 views
0 votes
1 answer

nodeJs callbacks simple example

var myCallback = function(data) { console.log('got ...READ MORE

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

nodejs robinhood api login

If you're utilising the Robinhood API, you'll ...READ MORE

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

Updating Nodejs on mac

I recommend that you use nvm. It's ...READ MORE

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

how to verify jwt token in nodejs / never expire?

You can achieve this by using the ...READ MORE

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

Extend SchemaDirectiveVisitor To Use Apollo Server Schema Directives in NodeJS

Because the ApolloServer class lacks a SchemaDirectiveVisitor ...READ MORE

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

Documenting Node.js projects

JSDoc is a JavaDoc port. As a ...READ MORE

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

NodeJS email-templates i18n localization

The i18n object does not appear to ...READ MORE

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

How to make login with Nodejs and MongoDB?

MongoDB Login and Registration with Node js ...READ MORE

Jun 16 in Node-js by Neha
• 8,940 points
4,323 views
0 votes
1 answer

there is tutorial for PURE node.js?

When it comes to pure node.js, the ...READ MORE

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

How to get Australia/Sydney timezone offset in javascript/nodejs?

It is very easy with Moment JS. ...READ MORE

Jun 16 in Node-js by anonymous
289 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 in Node-js by Neha
• 8,940 points
84 views
0 votes
1 answer

How to pass text/plain content in axios POST request in nodejs?

var config = { ...READ MORE

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

Auto deduct the payment from account using razorpay in nodejs

To interface with Razorpay APIs, install the ...READ MORE

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

How to completely remove node.js from Windows?

Run npm cache clean --force Uninstall from Programs & ...READ MORE

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

How to get Australia/Sydney timezone offset in javascript/nodejs?

I haven't done any study to find ...READ MORE

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

Download a file from NodeJS Server using Express

Because the file's name is just 'download' ...READ MORE

Jun 13 in Node-js by Neha
• 8,940 points
1,643 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 in Node-js by Neha
• 8,940 points
119 views
0 votes
1 answer

How to set different destinations in nodejs using multer?

With multer 1.2.1. You need to use DiskStorage to specify where & how of the ...READ MORE

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

Online java coding test: compile submitted java code in nodejs

Given that the user's source code will ...READ MORE

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

Otp Verification in nodejs?

Yes, a package named sendotp exists. This ...READ MORE

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

npm dotenv environment variables not recognized in nodejs module

process.env object that are defined in the ...READ MORE

Jun 10 in Node-js by Neha
• 8,940 points
2,288 views
0 votes
1 answer

Fill Data In Existing PDF Form Using NodeJS

Check out the following modules on npm: fill-pdf pdffiller pdf-fill-form node-pdffiller pdfkit The node-pdffilleris ...READ MORE

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

How do I manage MongoDB connections in a Node.js web application?

When the Node.js application starts, create a ...READ MORE

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

Can't Upload Image with Google Photos API using NodeJS

The Google Photos API requires binary-formatted material, ...READ MORE

Jun 10 in Node-js by Neha
• 8,940 points
298 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 in Node-js by Neha
• 8,940 points
120 views
0 votes
1 answer

Nodemailer with Gmail and NodeJS

I fixed it by going to the ...READ MORE

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

Nodejs Event Loop

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

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

What version of npm works with nodejs 0.10?

Here's the complete list (between v0.10.0 - ...READ MORE

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

Nodejs Instagram videos downloader not working

Firstly, Initialize a package.json file with default values. npm ...READ MORE

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

How can I use goto in Javascript?

This JavaScript preprocessing tool allows you to ...READ MORE

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

How to use pino-transport in nodejs for logs?

Ensure that you have a recent version ...READ MORE

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

flatting and sorting nested arrays In javascript nodejs

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

Jun 9 in Node-js by Neha
• 8,940 points
93 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 in Node-js by Neha
• 8,940 points
39 views
0 votes
1 answer

NodeJS express get request is not working on mobile

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

Jun 7 in Node-js by Neha
• 8,940 points
505 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 in Node-js by Neha
• 8,940 points
101 views
0 votes
1 answer

Nodejs: question of type input with npm inquirer not working

The right code should be: const outPath = ...READ MORE

Jun 7 in Node-js by Neha
• 8,940 points
453 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
77 views
0 votes
1 answer

NodeJS - What does "socket hang up" actually mean?

When a socket hang up is thrown, ...READ MORE

Jun 7 in Node-js by Neha
• 8,940 points
10,216 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
157 views
0 votes
1 answer

File Download on NodeJS with use opensubtitles API

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

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

Nodejs: Convert Doc to PDF

For anybody who may come across this ...READ MORE

Jun 7 in Node-js by Neha
• 8,940 points
748 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
225 views
0 votes
1 answer

Result always undefined when return the result Nodejs

One easy way to do it would ...READ MORE

Jun 7 in Node-js by Neha
• 8,940 points
2,936 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
68 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
255 views