Questions tagged as 'nodejs'

1
answer

Upload video on node js that I do wrong

I have a special server to upload files in nodejs that is this var express = require("express"); var app = express(); var multer, storage, path, crypto; multer = require('multer') path = require('path'); crypto = require('crypto'); var form =...
asked by 15.11.2018 / 14:36
0
answers

How to change the color depth of an image in nodejs

How to change the color depth of an image in nodejs with the module jimp or ffmpeg or another, for example convert a png image from 24 bit to 8 bit.     
asked by 12.11.2018 / 02:42
0
answers

Problem Api League Of Legends with angular and / or Node

Good I wanted to practice a little the use of the external apis, that is, apis services not made by me so I found the api of League Of Legends that seems or seemed easy. I find in the documentation the different url that the API provides to...
asked by 12.11.2018 / 13:56
0
answers

Extract HTML attribute data with Vuejs

Dear I am developing a component collapse (accordion), which will show me data. But I need to make the method where I show the data is executed at the beginning of the application: mounted:function(){ // invocar los métodos this.idRu...
asked by 18.11.2018 / 23:44
0
answers

Modals and JS functionalities do not work after compiling with npm run dev

I have a problem with my JS modals and functionalities of my web application. In summary my code in webpack.mix.js is the following: mix.scripts([ 'resources/assets/js/bootstrap.min.js', 'resources/assets/js/Chart.min.js', 'resou...
asked by 10.11.2018 / 15:10
0
answers

What is the location of the .key, .crt, .ca and CA-bundle files?

I have a Linux 2 instance on Amazon, in which I install a certificate with Certbot as explained here: link What I need is for the certificate to work for me with Nodejs and for that I am following this tutorial: link My problem i...
asked by 10.11.2018 / 21:36
1
answer

JSON file to CSV in Node.js

I would like to know if anyone has an idea of how to convert a JSON into CSV in node.js For example, this JSON: var myObj = { "Processes": [{ "id": "p1", "burstTime": "3", "arribo": "0" }, { "id": "p2", "burstTime": "4",...
asked by 08.11.2018 / 04:07
0
answers

error failed to lookup view

I am currently starting with my learning with NodeJS and express. My problem arises with a route that sends me an error, in this case with the user path const router = require('express').Router(); router.get('/users/signin', (reg, res) =&g...
asked by 26.11.2018 / 01:06
1
answer

I have an open hashing code in Javascript

I have a code in js about an "open hashing" that is hanging, I think it's because of the 'Insert_in_bucket (obj, pos)' function and I'm not finding the solution. let node=function(){ this.key=''; this.word=''; this.getKey=function(){ retu...
asked by 09.11.2018 / 17:27
1
answer

Filter specific value at the time of being added, Firebase DB

My problem is that I am trying to get an automatic response of a specific data if it is added in Firebase , but the drawback is that it is not a specific route that I can place to simply get the added value with child_added since I have...
asked by 04.11.2018 / 14:43