Questions tagged as 'nodejs'

1
answer

Because I have this error Node and NPM

I need help with this someone who can help me thanks: I have node -v 10 and npm -v 6 when trying to intalar angular-cli generates this error in the console I am using windows 10    17 error code E405 18 error 405 Method Not Allowed: angula...
asked by 19.06.2018 / 01:41
0
answers

How to have the Node.js NPM Unit to make a Browser-Sync?

I have everything installed but the External that is the http that is used to enter from another device does not appear in the terminal because this happens ALREADY INSTALL NODE.js AND INSTALL BROWSER-SYNC FROM THIS LINKS: npm install -...
asked by 22.06.2018 / 20:22
2
answers

Display project AngularCLI in sevidor NodeJs

I have completed a project using Angular CLI and I need to deploy it to a linux server which currently has a version of NodeJs.The built project structure is the one I show below: My question is about how to get this project deployed on...
asked by 19.06.2018 / 16:41
0
answers

JQuery plugin does not work on my computer but on other

I have a project created with Angular + JHipster. I needed to insert a slider called Owl Carousel, but it did not work. Suddenly, I realized that I was receiving the following error in the component.ts file of the module where I want to use i...
asked by 24.06.2018 / 09:40
1
answer

how to send an event in laravel 5.5 using the pusher.js library?

I am trying to make notifications in real time with laravel and pusher.js the problem is that when I create the event it does not reach the client but it does not mark any error code: now edit the serviceProvider, broadCa...
asked by 09.06.2018 / 20:53
0
answers

How to update nodejs in ubuntu

I had version 8.10.0 installed and updated to version 10.4.1 with npm: sudo npm cache clean -f sudo npm install -g n sudo n stable All good without errors , but when executing: nodejs -v in the terminal, inform me that I continue with...
asked by 14.06.2018 / 13:34
1
answer

How do I make a query about another MySQL query with Node.js?

I have created a pool of MySQL module.exports = () => { return mysql.createPool({ connectionLimit: 10, host: 'localhost', user: 'root', password: '', database: 'gym' }); } I have also made a query that shows me results...
asked by 08.06.2018 / 19:03
0
answers

RaisedButton Material UI problem disabled

I have a RaisedButton of material UI, I add the property disabled: true, it shows it blocked but at the moment of pressing it also executes the action, to what can this be done?     
asked by 06.06.2018 / 22:17
1
answer

How to query collections with mongoose embedded fields?

learning mongoose and mongoDB I have an inconvenience that I do not know how to solve, with the following code: var mongoose = require('mongoose'); var mongooseEsquema = new mongoose.Schema({ nombre: {type: String}, apellido : {type:...
asked by 12.06.2018 / 00:28
0
answers

Paginate is not a function

Partners help me! I want to paginate the results of my Artist model extracted from mongoDB but the following error appears: Artist.find(...).sort(...).paginate is not a function This is my model const mongoose = require('mongoose'); cons...
asked by 05.06.2018 / 07:12