node.js tag

261 questions


1 answers
87 views
0
I want to close a specific socket

This is the person who creates the chat application in NodeJS (SocketIO).We use the following methods to send to specific users:io.to(socket.id).json.emit('message',message);How do I close a socket fo...


1 answers
77 views
0
Understanding Unit Tests for sails.js

I asked a question at the head office, but I would also like to ask a question in the Japanese version.I am currently creating a web application using sails.js.By default, sails.js does not have a tes...

2 years ago

1 answers
96 views
0
Error in npm install

When I installed npm in my new Mac environment, I found the following error.npm installation in the directory where package.json is located.Please tell me where to look.environmentMacOS ELCAPITAN 10.1...

2 years ago

1 answers
36 views
0
Nodejs Express wants to send Buffer with BOM in Response

Download the csv via the API you are creating in Express and download the file with UTF-8 with BOM for Excel use.res.contentType('text/csv');res.attachment('response.csv');res.write( Buffer.concat ([B...

2 years ago

1 answers
38 views
0
Sample code cannot be used after installing gulp

We are proceeding with the Build and Run Samples procedure at the following URL, but the npm install command fails and cannot complete.I tried adding sudo, but it didn't change.Could you tell me how t...

2 years ago

2 answers
37 views
0
How to Change the Process by Node.js URL

I started studying Node.js on a video site called Dot Installation.I haven't created an environment yet to watch the video.This video http://dotinstall.com/lessons/basic_nodejs/26207shows how to sort ...

2 years ago

2 answers
47 views
0
How to separate files when you put variables in url in express routing

app.use('/users',users);router.get('/:user', function(req,res,next){I can route using , but I would like to separate the files in case /users/:user/ or below increases.app.use('/users/:user',users);ro...

2 years ago

1 answers
84 views
0
I want to get the client terminal's unique information (UUID) from the front end (Angular)

We are currently developing web applications at Angular 7 (Nodejs).This application runs on Google Chrome and I would like to get the specific information of the client terminal accessing the applicat...


1 answers
40 views
0
AES encryption and decompression do not work in node.js

What do you want to do?Compression → AES cipher → Hand it over to the other party → AES decryption → Unzip That's it.Executing the code below will result in an incorrect header check error on the last...

2 years ago

1 answers
121 views
0
The file generation application running on the server will be generated to the local PC.

Thank you for your help.Could you tell me about the relationship between the server and the local PC network?Currently using nuxt.js and firebaseI am developing a printing application for a certain do...

2 years ago
« - 11 - »

© 2024 OneMinuteCode. All rights reserved.