I'm having an error trying to run a filter on the database.
var params = '{"cd_entidade":"'+ vcd_entidade+'"}';
Movmaterial.find(params).toArray(function(err,docs){
if (err) throw err;
console.log(docs);
}
There was an error that I...
I had the Node.js 5x installed and I downloaded it and started installing the Node.js 8x and the Wizard did not install and reversed the entire operation and now I do not have Node.js and npm installed.
My Windows is the 10 64 bit
The vers...
Hello, I'm doing a college work, an academic control, and when trying to remove a tuple from the database passing the "id" of the tuple via post form, the value arrives either empty or undefined. Here is the code:
<tbody>
<...
Hello, first of all I apologize for the code, I am giving maintenance and as soon as I can solve this problem I will work on it better with OO, MVC etc.
My problem is, I'm creating an auction room where everyone in it can bid, it's already wo...
Hello, I installed the ionic on my notebook with Win10. I created a project and I use the ionic command --lab and it opens the project interface in my web browser, but when I make code changes the interface does not update. What should I do?
...
I'm following a video lesson and a question has come up.
I created two folders one for the front (which is run by the http-server port 8080 server)
second folder to the back (which is run by nodemon port 3000)
But unfortunately it does...
I have a NodeJs application and I am trying to insert some records in a MySql form, but when I run the code below I get the following message.
Code:
CadastroModel.prototype.cadastrarEstudio = function(estudio, callback) {
var sql = 'INS...
I have a problem using Nodemon, whenever I start or restart the server for it, instead of printing something on the console or loading a page, it is only in the directory index. It takes several minutes for it to finally respond and load the pag...