node.js tag

261 questions


1 answers
120 views
0
forever command

I stumbled while creating a discord bot.I created it with node.js and run it with the forever command, but there is a bug(?) that sends a lot of replies.This increases every time you issue the forever...

2 years ago

1 answers
128 views
0
Sample (especially b-form-select) does not display well in BootstrapVue.

I would like to use the Complete example sample on the BootstrapVue site, but it doesn't show well.In particular, it differs from the sample display in areas other than the table, such as sorting filt...


1 answers
126 views
0
Obtain a list of clients connecting to Socket.io from the client

I would like to get a list of clients connecting to Socket.io from my client.var http=require(http);var server = http.createServer(function(req,res){ res.write(Hello World!); // ・・・ ① res.end();//...2...

2 years ago

3 answers
112 views
0
About the chat application using Socket.io

I am creating a chat app like LINE with the html5 hybrid app (I use Monaca).I plan to use node.js, socket.io, and redis.When you search socket.io Chat on Google, you can find code that acts as a chat ...

2 years ago

1 answers
119 views
0
Discord.js v13 Detects Specific Messages

** is hidden because of abusive language.What code should I reply to when I find a sentence with a specific message?client.on(messageCreate, (msg)=>{ if(message.content.match===**){ msg.reply(Don'...

2 years ago

2 answers
44 views
0
About Garbage Collection

I have a question about JavaScript garbage collection (GC).I don't understand why only the former variable obj is GCed in the following two examples.Both of them have not been referenced to be monitor...

2 years ago

1 answers
59 views
0
I want to increase the internal buffer value of node.js

○ProblemsI am writing a proxy with node.js.Proxying heavy POST content caused disconnection.クライアント Client → ode node.js Proxy → Web Web Server As for the proxy method, I am sending the chunk I receive...

2 years ago

1 answers
131 views
0
I don't want to mention it when I reply in discord.js.

When I executed the code below, the message was replied, but it was mentioned.Please tell me how someone won't mention it.v13.message.reply({ content: hoge allowedMentions: { parse —[ ] } })

2 years ago

1 answers
110 views
0
Error: Module did not self-register error when transfiling SCSS file using gulp-ass

When you try to use gulp-sass to transport a specific SCSS file, you will not get the following error and you will not be able to: [16:51:18] Error: Module did not self-register. at Error (native) at ...

2 years ago

3 answers
40 views
0
node.js cannot be moved from browser

I would like to move JS as server side from browser, but the JS file to which the file is loaded is returned.When I was running PHP with Apache, I wrote the loading of the module for that in httpd.con...

2 years ago
« - 12 - »

© 2024 OneMinuteCode. All rights reserved.