Questions tagged as 'node.js'

1
answer

Package installed with npm is not available at the command prompt

I installed nodejs v0.12.6 on my computer with windows however I had some problems. I first found a solution on the internet very simple and thought that everything would work normally however when trying to install some package...
asked by 07.07.2015 / 21:21
1
answer

Generate Json x Search on mongodb

I'm generating a Json. But I have the following situation: I have a contact record that can belong to the same company. That is, I can have two people registered in a single company. How do I load these contacts into my json? I'm doi...
asked by 25.06.2015 / 14:47
1
answer

NodeJS + sqlite3: error getting information from Select

I'm learning nodeJS. I'm trying to integrate it into Sqlite3, but when trying to read a database information the following error is being generated: /home/ubuntu/workspace/node_modules/sqlite3/lib/trace.js:28...
asked by 25.07.2014 / 16:40
1
answer

How to send / receive data from the client to the server?

How to send / receive data from the client to the server, making requests like dynamically fetching the database?     
asked by 13.11.2014 / 18:07
1
answer

How to make the node identify the path from the root of the request?

You're like this: <link rel="stylesheet" href="http://localhost/node/softmon/css/style.css" type="css"> If I put it this way: <link rel="stylesheet" href="/css/style.css" type="css"> does not work. I use this to display...
asked by 01.12.2014 / 15:31
1
answer

Node installation without npm via .zip only

I need to install a nodejs module on a server and it does not have internet access. if down it in github, how to install it on the server? I do not want to use npm install to download directly from the internet     
asked by 10.07.2014 / 13:47
2
answers

Permission Denied in Firebase

I'm developing an app with ionic 3 and Firebase ... In the Realtime Database rules, the problem arises: I try put the rules pro type "user", but the following error appears:    ERROR Error: Uncaught (in promise): Error: PERMISSION_DENIED:...
asked by 19.09.2018 / 20:52
0
answers

XML digital signature with NodeJs

Good morning I'm using xml-crypto and pem to sign an XML. But after searching I could not find a way to solve this gambiarra: var certificado = cert.cert.toString().replace('-----BEGIN CERTIFICATE-----', '').trim().replace('--...
asked by 06.06.2018 / 16:43
0
answers

What are the best practices for putting mongoDB into production?

I'm studying node.js, and in most courses the staff uses mongoDB, I really enjoyed working with it, very simple and practical, but I have some doubts: Nowadays, do most of the hosting already support MongoDB? How to tell if the project is...
asked by 09.05.2018 / 03:19
1
answer

Production vs. Development - WEBPACK

I would like to know the difference between the "development" and "production" modes within Webpack4.     
asked by 30.05.2018 / 21:16