Questions tagged as 'node.js'

0
answers

Problems generating apk - Ionic + Firebase

Well, I'm developing an app with ionic 3 and Firebase (RealTime bank). Everything was happening normally. When I installed firebase-admin, it "broke" several errors. How should I proceed ? Here are the errors below: Error: Failed to transpi...
asked by 12.11.2018 / 19:19
0
answers

Host application node.js socket.io in heroku

I have a socket.io application in github and I need to run it on reroku but I'm not having success with the tests with other servers, but the index of the other was with the app so if you want to take a look in the code or even here is the link...
asked by 22.11.2018 / 16:37
0
answers

Firebase Cloud Messaging Node Server does not send notification to Single Device

I have a project via firebase-admin on the Node, where I send notifications to my devices that have the application registered in the firebase, however I can only send by topic, when I try to send by 'token', it presents this error In t...
asked by 08.11.2018 / 17:32
0
answers

Client application in Heroku

My application is a client application where it consumes a Proxy API and shows the data received in 'ejs'. But when deploying on Heroku, when I try to access the url, it displays the message below:    2018-11-06T17: 10: 10.423095 + 00: 00...
asked by 06.11.2018 / 18:18
1
answer

TypeError: Can not read property '1' of null

I have this problem and I have no idea how to solve it, I want to save images in Azure storage. const blobSvc = azure.createBlobService(config.containerConnectionString); let filename = guid.raw().toString() + '.jpg'; let rawdata = re...
asked by 12.11.2018 / 17:54
0
answers

function inspectdb equivalent no node

Hello! In Django there is a function called inspectdb that maps the entire database by creating file templates model.py. Is there any function or lib equivalent of javascript or node.js?     
asked by 03.11.2018 / 22:49
0
answers

Routing in files in separate directories express

Well I'm having a problem, I'm trying to render a html page, but I do not want to use any 'view engine' for this, but I can not make my routes that are in a separate directory rendered in my app file. js that are in the root know how I can do th...
asked by 08.11.2018 / 21:14
1
answer

nodejs + mongoose how to make one query need another?

I have two tables they have a link id being table A (Initial) tableB (dependencies) but there may be dependencies dependencies. I'd like it to just return in the dependency sequence. function Deps(dt) { return new Promise((resolve,reject)...
asked by 11.11.2018 / 07:23
0
answers

Doubt ChatBot Node Network

I designed a ChatBot using the Node-RED RedBot, however I have a question: There was a need to create an email sender option for Trello ChatBot when necessary to send an email, some tips on how to perform Such a deal? in Annex follows flow print...
asked by 07.11.2018 / 19:06
0
answers

Updating the Angle CLI to the latest version?

I started a new angled project, this works fine for me when I use: npm start However, I'm trying to use ng serve So I tried this: npm uninstall --save-dev angular-cli npm install --save-dev @angular/cli@latest However, I'm getting...
asked by 01.11.2018 / 16:41