Questions tagged as 'nodejs'

0
answers

Socket IO option origins in App Phonegap

I have a question about the operation of SocketIo for node and an app created in Phonegap, the question is with respect to limiting access to sockets, according to official SocketIo documentation there is an option called "origins" that serves t...
asked by 06.04.2018 / 15:21
0
answers

Problems showing images with PUG

I am designing a CRUD with images, using Mongodb with Nodejs and for the PUG views, but I have a problem when displaying the images; using the browser element inspector, it just tells me that could not load the image , I'm thinking that the pro...
asked by 05.04.2018 / 01:19
1
answer

Scalability Apps

I do not have much knowledge about servers and business models for apps. Develop an app that has at the moment 9 users these enter from the android app or the web. I have a SSD VPS on ovh.com and its features are: 1 core to 2.4 Ghz 2 GB...
asked by 01.04.2018 / 00:54
1
answer

Webpack ignores the webpack.config.js file

I'm following this tutorial to learn about Webpack ... The issue is that I configured the file as follows: module.exports = { entry: "./app/entry", mode: "development", module: { rules: [ { tes...
asked by 01.04.2018 / 20:56
1
answer

How can I export / import const app = express () to another file js

I am trying to separate responsibilities, sharing in different files and modules the different actions that I will carry out in my application on the server side. I came across a problem, which I can not understand. I try to export from the f...
asked by 28.03.2018 / 01:23
0
answers

How to edit an xlsm file (excel with macros) from NodeJS?

I need to edit a file from NodeJS using exceljs but it does not support the handling of macros and the file remains corrupt after its modification. Thank you.     
asked by 07.04.2018 / 21:45
0
answers

How to perform a GET by ID and by Name in AngularJS?

I'm pretty new working with angular and node js. My problem is that I have a GET to search by ID (it works correctly), but I would like that depending on a radio bottom it will also search for me by name. Then I just get him to look for one of t...
asked by 26.03.2018 / 15:46
0
answers

This website can not be accessed

I am learning node.js and this next instruction is presented to me; nevertheless when executing it through node filename.js I get " Unable to access this WEB site" , I appreciate any guidance. var http=require("http"); var fs=require("fs"); h...
asked by 21.03.2018 / 23:32
0
answers

Error installing Express on Ubuntu 16.04

I have seen a solution for this problem in Windows but it has not solved the problem in Ubuntu, I get the following code: npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules npm ERR! path /usr/local/lib/node_modules...
asked by 20.03.2018 / 21:13
1
answer

Cross-Origin Request Blocked in Node and Angular

When I want to open my web application, the error appears in the console: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at link . (Reason: CORS header 'Access-Control-Allow-Origin' missing). It...
asked by 20.03.2018 / 07:17