Questions tagged as 'nodejs'

0
answers

How to generate a JSON of a query in MySQL and see it through a URL?

Good morning classmates would like to know how to perform this process, get the data of a MySQL query in a JSON but can obtain it through a URL or in case of tests postman , the languages that I usually use are Laravel and I was try...
asked by 08.11.2018 / 21:59
1
answer

can you help me with this leardnyounode exercise (my first i / o)? [closed]

/ * Write a program that, using a synchronous call to the file system, reads a file received by argument and prints to console the number of line breaks ('\ n') it contains. Similar to run cat file | wc -l. The program will receive the path to t...
asked by 01.11.2018 / 17:54
1
answer

How to place .htacces in Ghost

I'm trying to add gzip compression to my project of Ghost.org but I could not, I use ghost-cli and nginx to serve, but in sites-available generates a proxy that sends a node that runs in localhost, this is the configuration of the nginx serv...
asked by 11.06.2018 / 04:19
0
answers

Neo4j Movies Example Application - Node.js neo4j-driver

I'm trying to make the example neo4j-examples / movies-javascript-bolt for node.js. Making the appropriate pre-settings, when I launch the app with, $ npm run dev I get the following error, > [email protected] dev C:...
asked by 02.11.2018 / 02:57
0
answers

PAYPAL ERROR NODEJS "AUTHENTICATION_FAILURE"

I am developing a web-soscket with node.js to be able to make payments on paypal. The client is an app developed in react-native. Everything perfect until the time to make the payment, in the server everything is executed correctly and throws me...
asked by 31.10.2018 / 18:32
1
answer

Create folder in bucket when uploading file with user id, nodejs, express

I hope you can help me, I am creating a video application and I need to create a folder, inside another folder called videos that is in My Bucket, that new folder must have the user id and inside the uploaded videos. This is my upload.js file...
asked by 30.10.2018 / 14:24
1
answer

PAYPAL ERROR 400 NODEJS

I followed the Paypal documentation on how to make an order, this is the object: var payReq= JSON.stringify({ "0intent": "sale", "payer": { "payment_method": "paypal" }, "redirect_urls": {...
asked by 30.10.2018 / 00:04
1
answer

look for white space in an image with node.js

What I would like is to identify when an image contains a stamp in a space or is blank, I used image-clipper to cut the image and be able to compare pixels of color but I still have not. var Clipper = require('image-clipper'); Clipp...
asked by 30.10.2018 / 00:23
0
answers

Error updating sequelize 4.40 in my project

I am developing a platform in which I updated sequelize to version 4.40 and it tells me the following error.    error: TypeError: Can not read property 'name' of undefined       at Function._validateIncludedElement (C: \ Users \ Zrismart23 \...
asked by 29.10.2018 / 18:34
0
answers

502 Bad Gateway AWS

I have uploaded a web app to AWS, but once uploaded it gives me the error. The app that I'm trying to hang is total.js 502 Bad Gateway I have reviewed the logs, and I do not see it clearly ... The following error appears in the node.js log...
asked by 28.10.2018 / 15:41