261 questions
In the ejs file of node.js, xxx.ejs<script> var temp = <%=dateinfo%>;<script>....<script src=/public/test.js></script>Is there a way to declare a temp variable like this...
When node.js connects to MySQL server using Sequelize, it seems that the port is basically connected to 3306, is there a way to change this port?
// Send hikari's imageclient.on('message', message => { if (message.content.startsWith (hikari)) { const hikari = [ 'https://example/giphy.gif', 'https://example/giphy2.gif', 'https://example/g...
While following the Gulp section on the TypeScript home page.// File name: src/main.tsfunction hello(compiler: string) { console.log(`Hello from ${compiler}`);}hello('TypeScript');On the example code,...
Like Mini Kuda, we are trying to create a bot that recognizes when a user uses an emoji and converts the emoji to an address and sends a message (not embedded, just a link).Official discode.I'm trying...
Creating a simple function related to nodejs.function templateList(){ var templateList; fs.readdir('./data',function(err,fileList){ The total number of files in //./data is 3. templateteList = `<ul...
We are creating a sound effect playback app with Expo (React Native). I'm trying to make it by referring to the Expo official document, but here, I'm importing the mp3 file as a require function. Co...
Hello, it's nothing butI'm working on a code to implement membership with node.js and mongoDBI have a question because I couldn't get the username and password continuously.I don't know what the hell'...
I made a function because I wanted to return the data received by request(get) in a variableIf you take a function, Promise { <pending>} It pops up like this. I don't know what to do, so I'm ask...
Hi, how are you?I want to find data in the database and put it in json form. Json's response is executed before data is found and contained, so where should I use wait to find data and then respond?It...
« | - 26 - | » |
© 2024 OneMinuteCode. All rights reserved.