Questions tagged as 'nodejs'

0
answers

I have a problem creating an Angular Project

I am using Windows 7 (32 Bits), I have installed Node.js, NPM and the Cli of Angular. at the moment of creating a project through the command ng new ProjectNameAngular starts all right, but after downloading all the content shows a number of err...
asked by 13.05.2018 / 21:09
1
answer

Doubt to Close SQL Connection in NODE JS

Good day I have implemented the following logic: router.get('/estudiante',(req,res,next) =>{ //res.send("hola mundo"); var sql = require("mssql"); // config for your database var config = { user:...
asked by 13.05.2018 / 18:23
0
answers

Bookshelf.js and Knex.js

I have created a database with fields that can not be null, when making an insertion or an update using the "forge" method of bookshelf.js, create the records even if the information is not sent, how can I prevent If the fields do not have infor...
asked by 08.05.2018 / 06:13
0
answers

Problems with webpack

saludes structure a project with babel, sass and gulp at the time of packaging I receive this error . I'm on Ubuntu 18. node: v9.8.0 gulp-cli: 2.0.1 then I show the dependencies of the project "devDependencies": { "babel-cli":...
asked by 07.05.2018 / 22:03
0
answers

problem with php extensions in nodejs

I just started in the world of websockets, my project is pure php I'm trying to integrate nodejs in my application by the question of websockets so I have some doubts, I've been reading and practicing and I was developing in small and simple cha...
asked by 14.05.2018 / 01:23
1
answer

I close the node terminal by mistake in the angle service create

When I save something to the bd (MongoDB) from the app, I close the node server in the terminal, however it saves the data. I have in the file api_v1.js: const express = require('express'); const router = express.Router(); const Profesor =...
asked by 06.05.2018 / 01:56
0
answers

Error with node js

I have an error with NodeJS and I can not understand why, much less how to solve it. This is the error I hope you can help me:    Your environment has been set up for using Node.js 10.0.0 (x64) and npm. These are the commands that I execu...
asked by 08.05.2018 / 00:49
0
answers

oracledb for node.js on AIX error °

How I am trying to deploy in an AIX environment, using the library oracledb for node.js , I get an error of not being able to load the library, within my node_modules if this library and I have the instantclient of oracle, I...
asked by 10.05.2018 / 16:23
1
answer

Problem with mysql, node and module.exports

Eh. . . hello all over the world, they'll see I've been learning one day so if I come to say nonsense and be stupid sorry. I have a small site that I am connecting to mysql with node, but to unburden code I wanted to use module as in java but I...
asked by 12.05.2018 / 07:51
1
answer

MongoError: could not connect to the server [localhost: 27017]

When I write on the command line mongo return me this error: MongoDB shell version v3.4.10 connecting to: mongodb://127.0.0.1:27017 2018-05-01T11:42:17.843+0200 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket fo...
asked by 01.05.2018 / 11:47