node.js tag

261 questions


1 answers
168 views
0
Concept of static page and dynamic page in web development. (+ ejs, Jade template)

Hello.Web development with node.js.I asked you this question because I had doubts during the development.So far, we've been developing all the files in .ejs.However, when I tried to apply reactjs, it ...

2 years ago

1 answers
150 views
0
Node.js How do I get a logged-in user post?

When a member enters my page, he or she wants to print out only what he or she wrote. I'm currently printing all the writings that other members wrote. Only the user's nickname is properly brought.I d...


1 answers
88 views
0
Using nodejs child_process spawn

I want to run the following code in nodejs.$ gcc test.c$ $ ./a.out < inputfile.txtSo I wrote the following code.var gpp = spawn('g++', ['test.cpp']);var run = spawn('./a.out', ['< input.txt']);v...

2 years ago

2 answers
50 views
0
Node.js going back from EC2, can't you email me?

emailSending an email to module continues to fail with ec2 only.events.js:141 throw er; // Unhandled 'error' event ^Error: spawn sendmail ENOENT at exports._errnoException (util.js:870:11) at Process....

2 years ago

1 answers
45 views
0
[Node.js, Nodejs] To process multiple functions fully synchronously

Hello. I'm asking you this question because there's a problem with the synchronization processing with Nodejs.async function asyncMain () { console.log (1. Start); if(a == 0){ await a_multiplier(); }...

2 years ago

2 answers
48 views
0
I'd like to ask you the difference between JavaScript and...

var list =`<ul>`; for(var i=0;i<filelist.length;i++){ list = list + `<li>${filelist[i]}</li>` } list = list + `</ul>`In the code above, I wrapped the ul tag with a d...

2 years ago

1 answers
65 views
0
When implementing Google Login using NodeJS Passport

app.get('/auth/google/callback', passport.authenticate('google'));If you do this, it works well.If you try to log it, it will emit an error.app.get('/auth/google/callback', (req, res) => { console....

2 years ago

2 answers
43 views
0
I want to know how to compress and transfer files such as js in node.js.

I asked this question several times and deleted it, and after searching separately, I found out that the process I wanted was compression transmission. So the conclusion isI want to know about the com...

2 years ago

1 answers
120 views
0
I have a question about the chat implemented by socket.io.

Currently, most of the messenger functions have been completed, but the problem is that they are bringing the most recent conversation together by distributing the list of chat rooms. (ex. Kakao Talk)...

2 years ago

1 answers
64 views
0
I'm learning Angular.js for the first time, but there's a confusion in the http server configuration.

I am a student who is studying node.js. Since I have only configured express.js so far, it is easy to automatically catch and route the View, but since I am trying to make SPA with Angular, I wonder i...

2 years ago
« - 19 - »

© 2024 OneMinuteCode. All rights reserved.