Questions tagged as 'node.js'

0
answers

Framework Ideal for Queries in rows

Hello I need to develop an application that will receive a considerable number of users. The big point is the order of queries of users are relevant. For example, a user X has made a request and will run a series of queries. However, user Y h...
asked by 26.04.2018 / 23:00
0
answers

Problems loading TypeScript files into Visual Studio 2017 (Node.js process consuming lots of CPU)

When you open a Web Application project and display TypeScript (.ts) files, Node.js starts to consume a lot of CPU (30-40%). In .ts files of up to approximately 100 lines, loading is slow, but it shows all navigation (Go To Definition - F12)....
asked by 27.04.2018 / 16:48
0
answers

Electron remote module causes application crash

I'm having trouble using the electron. Whenever I try to use the remote module outside the main.js application of a reload alone. I do not have any reload code in my script. Whenever I use showOpenDialog the application will restart. I have a bu...
asked by 25.04.2018 / 16:48
1
answer

error in using installed packages via npm with -g

I installed npm install typescript -g and npm install @angular/cli -g and I'm not accessing tsc and ng . 'ng' não é reconhecido como um comando interno ou externo, um programa operável ou um arquivo em lotes. 'tsc'...
asked by 24.04.2018 / 00:29
0
answers

Post with Association Node JS

I'm trying to do an insert (1-N), I use Node JS 8.9.1 and Sequelize version 4.4.2, PostgreSQL database. I have a Calendar class with GroupGroup class, that is, a calendar can have N GroupGroup records. Relevant parts of classes: Sched...
asked by 28.04.2018 / 16:33
2
answers

Regular expression for URLs with dynamic media

I have an html file with urls in this default URL: https://www.olympikus.com.br/tenis-olympikus-flower-415-feminino-cinza-D22-1131-010 The default is protocolo://dominio/strig-dinâmica-000-0000-000 I want to get all the links in...
asked by 28.04.2018 / 23:42
1
answer

How to do an implementation of an Angular application in Heroku using Gitlab?

Angular Usage 5 (5.2.10) and Angular CLI (1.7.4) and I would like to do Deploy on Heroku, however my files are in the Gitlab repository. More information: node (8.11.1) and npm (5.6.0).     
asked by 20.04.2018 / 15:38
1
answer

Update data automatically without refreshing the page

Maybe this doubt is pretty "beast", but I have tried in different ways and I can not. I have a page that counts a number of products, but I need the data presented through the query that is on the page, to be updated every 1 second without the p...
asked by 30.04.2018 / 15:14
1
answer

Is it possible to fire a file inside a server through a web page?

I would like to know if it is possible to execute a command inside a server through a web page, what I need is that through this page I can open a VBS script that I have saved or even open an application. No matter the language applied, is there...
asked by 17.04.2018 / 00:56
0
answers

Error NODE_MODULE BCRYPT

Would anyone know to tell me why this error ?? module.js:598 return process.dlopen(module, path._makeLong(filename)); ^ Error: The module '/home/fred/app/backend/node_modules/bcrypt/lib/binding/bcrypt_lib.node' was compiled...
asked by 17.04.2018 / 14:41