Recently I started a project but my node has a small error and I need to remove it. The following question is how to completely remove node.js using the Arch Linux terminal?
And when I run the command pacman -R node as super user I get this e...
Well, my problem is because I have a site open on port 80 and a project made on open node on port 8080. I own the domain: link , trying to access it only directs all subdomains to my site (causing my application to run out of domain), is there...
I'm new to dev and would like to know how to pass a parameter via function. For example:
function hello(name) {
console.log("hello " + name);
}
hello("Fulano");
If I run node hello , it will return "Hello So-and-so."
Ho...
I'm trying to run version 10 ( develop/x ) of botpress , but whenever I give start it displays version 1.1.13
root@3900662b3eb1:/bot# bp start
18:49:25 - info: Starting botpress version 1.1.13
18:49:25 - info: Loaded botpr...
I'm using mongodb with mongoose in nodejs, I have my schema like this:
const UserSchema = new mongoose.Schema({
username: {
type: String,
unique: true,
require: true
},
balances: {
dolar: {...
Context:
I'm using a virtual machine, ng serve is running on port 4200, and nodejs on port 8024, when I try to send data to the server nothing happens, the part of the angle is apparently error-free. When I use postman to send a...
I'm passing my electronjs app (nodejs) to the MVC standard and I encountered a problem when updating an exported property.
Example of my application.js :
// Importa os módulos privados
const config = require('./config/config');
con...
I wanted a way to organize this Json file:
{
"ajuda": {
"name":"Ajuda",
"category": "Sistema",
"desc":"Mostra todos os comandos disponiveis.",
"usage":"ajuda [grupo ou comando]"
},
"ping": {...
I would like to know how I can cache the% .EJS files because they are not rendered by the browser, but by the server and only after sending the corresponding .HTML to the browser.
self.addEventListener('install', function(event) {
event.w...
I'm trying to send the 'name' variable to the client side, but it's only working when I run a respons.end() when I use two, returns this error:
> 'Can't set headers after they are sent.'
Server
router.get('/:eventnick', func...