Questions tagged as 'node.js'

1
answer

uninstall ionic projects

I've created several projects for testing on Ionic, but now I need to delete it. I've done a lot of research on this, but I have not found any solutions. Can anyone help me?     
asked by 26.06.2018 / 22:11
1
answer

Update in two MYSQL tables [duplicate]

How to do an update in two tables, Ex: first table users , would only update in senha , but in table users_info would update cos fields, cidade , nascimento , sexo e etc. I can do it in one, but I wante...
asked by 04.09.2017 / 05:22
1
answer

Development Environment Nodejs / npm / Cordova in Linux Mint

At the moment I'm using Linux Mint 18.2 KDE and I need to install the cordo development environment, since I'm doing a course of it. However it has been more than two weeks that I am facing a very annoying problem with the download of the cord v...
asked by 27.07.2017 / 01:38
1
answer

Error in npm of node.js | Can not find module 'json-parse-better-errors'

Going straight to the point is this error:   0infoitworkedifitendswithok  1verbosecli['C:\ProgramFiles\nodejs\node.exe',  1verbosecli'C:\Users\Acer\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',  1verbosecli'install',  1verbosecli'ble...
asked by 22.05.2018 / 01:47
1
answer

NodeJS returns: Illegal arguments: number

const bodyParser = require('body-parser'); const bcrypt = require('bcryptjs'); //Bring in User Model let User = require('../models/user'); var urlencodedParser = bodyParser.urlencoded({extended: false}); module.exports = function(app){...
asked by 23.11.2017 / 21:19
1
answer

JSON Encoding Converter [closed]

Good Afternoon Galley, I have a question, I have a JSON file, which has some unidentifiable characters, is there any way I can set the encoding of it in UFT-8? Well I need to play this JSON in mongo but with the readable characters.     
asked by 07.12.2018 / 20:25
1
answer

Route.get () requires the callback function but got the [object Undefined] [closed]

In a nodejs application I get this error message: Version: node: 8.9.2 npm: 5.5.1 express: 4.15.5 Image of the error: App.js code /** * Module dependencies. */ var http = require('http'); var express = requir...
asked by 07.12.2017 / 18:22
1
answer

Angular for layout creation [closed]

Good morning guys! I'm now starting to study angular, node, and typescript (not in that order) and the following questions popped up: 1- I noticed that to run the angle, usually the node is used for backend apps for example. I saw that you...
asked by 14.11.2018 / 11:08
1
answer

Can not find module

I'm following this tutorial to create a chatbot of the link below, and you're giving this error, someone Can you help me with the error? the error and in the file server.js or in dialogflow.js? dialogflow.js const axios = require('axios')...
asked by 30.10.2018 / 22:57
1
answer

How to make a request to a page in NodeJS?

I would like to know how to make a request to a page using NodeJS. Basically, I need to make a request to a webservice that supplies data from posts based on the informed zip and from the given response (which comes in json format), handle the d...
asked by 15.01.2018 / 15:38