I am developing an application with ElectronJS and Vuejs but when I want to connect it and download data with Firebase it tells me this error:
Step part of Vuejs code:
const remote = require('electron').remote
const main = remot...
I am validating the tags of a JSON that is as follows:
[{
"Person": [{
"Id": 1,
"Type": 1,
"Extra": [{
"Number": 88888888,
"Code": 506
}],
"Personal": {
"Name":...
I'm trying to relate some tables with sequelizejs.
Table 1 has a field with an ID that is used for the relationship and table 2 has 2 fields for the relationship, one is module (string) and the ID for the relationship.
The MySQL syntax wou...
I have a query, I would like to know how to validate if a JSON object is empty or not, try doing it with "undefined" or null but since I am new in this I am not sure if this is correct.
This is my code:
var v = {"Mail":"[email protected]","C...
I am working with Node.js (express) and MySQL and I have had problems trying to make several queries in the same route. The error it throws is:
Can not set headers after they are sent.
And the code is this:
router.post('/test', funct...
The case is as follows, I have a front made in angular and I already managed to make the connection between the back and the database, all this locally ... the problem is the following, when I try to obtain back information from my front with a...
Hello friends, I have a web app developed with express and mysql but it turns out that I must make a mobile from this web app. The login and the register of my App must access the same database, I have the api to enter and cons...
I need to look for a record in mongoDb by the NUMERO_RUC using node.js, try for findById and it works perfectly but I want to search for other data that is not the id, you can help me I do not know where my fault is.
Method to obtain a record...
I'm doing a Web Service in Node.js where I have to do several validations but if one of those validations gives an error I need the Web Service to continue running but stop validating, as if it were a Try ... catch alone I do not know if in my c...
I have a api rest that works perfectly with postman, but when I consume it in the client with a fetch, it returns a code 304
NOTE: This happens to me when I send the token in the headers, if I do not send the token everything works normal
...