Questions tagged as 'nodejs'

0
answers

Error: Most middleware (like methodOverride) is no longer bundled with Express and must be installed separately

I need to create a web service and I'm using Node.js on the server. But when I'm running on localhost I get an error:    Error: Most middleware (like methodOverride) is no longer bundled with   Express and must be installed separately. Please...
asked by 17.09.2018 / 22:50
0
answers

Telnet in JavaScript - Node.js

I wanted to ask if someone could help me with a Telnet in JavaScript to use on port 25. Practically what I need to connect to a domain server to know if an email exists or not in that domain. I found this code that suits a bit but I do not un...
asked by 12.09.2018 / 22:04
0
answers

I have this error, I am trying to integrate JSZipUtils

I have already installed it with: npm i jszip-utils , but this error appears, it is already integrated into the index, the route is correct    ERROR !!!: Refused to execute script from   ' link '   because its MIME type ('text / html')...
asked by 12.09.2018 / 20:08
0
answers

Display data in an html of a mongo database and generate a statistics

Very nice people ... I am with a small problem in which I am breaking my head ... I am working with node.js and mongodb ... I have a table with several records with different ids ie each record has its id own in which it is already assigned as a...
asked by 14.09.2018 / 02:22
0
answers

I need to do line breaks in my word template, the paragraph comes in html

if(JSON.stringify(note) != '{}') { var zelda = JSON.parse(JSON.stringify(note)); var a = zelda.html_string.replace(/<(?:.|\n)*?>/gm, " "); var b = a.replace(/[\x00-\x1F-\x9F]/g, ''); var string = b; var string_split = st...
asked by 11.09.2018 / 22:47
1
answer

Walk with a for in VueJS

Dear I am developing an application with electronjs and vuejs, but I have a problem. I'm using vuetify and I can not show the firebase data, it just happens to me with vuetify ... now I explain it. <v-flex xs12 sm6 d-flex> <v-...
asked by 13.09.2018 / 15:41
0
answers

How to change the LocalHost server to 1 **. **. 2 *. **: 12 ** 0? Node Js

I have the following problem. I'm making an application that has to connect to the X server in port Y but I do not know how to change the server. By default the node runs in my LocalHost port 3000 and I want to change this so that it runs in the...
asked by 13.09.2018 / 15:27
0
answers

How can I debug a REST API made with express when making an http request with POSTMAN?

Good morning, I'm doing an API with Node JS and I use EXPRESS. I want to put breakpoints in order to debug the application every time I send a request with POSTMAN. I'm using VISUAL STUDIO CODE, I have the file launch.json { // Util...
asked by 13.09.2018 / 18:20
1
answer

Access a JSON chain with Javascript, Node.JS and Watson

I have this result in JSON that I receive from IBM Watson: { "document_tone": { "tones": [] } } This result, I keep it inside a variable in Javascript. My question is: How can I put a condition in Javascript, so that each time I get...
asked by 13.09.2018 / 17:05
0
answers

npm install does not work for me, there is no case

I've been trying to install the dependencies of a repository developing with angular-cli for some time, but when I try it, it makes me hateful ...    npm ERR! 405 Method Not Allowed: .... Reading they say it's a network issue ... by proxy...
asked by 13.09.2018 / 21:59