Introduction:
Let's take a practical example so that it's simple to understand ...
I want to use the Bulma framework in my project, so run the following command:
$ npm install --save-dev bulma
Tchanram! Now I can find both the bulm...
I know that the TypeScript language is used to compile files in JavaScript. But I wonder if there is any tool that makes it possible to do the reverse.
Is there any way to convert a JavaScript file to a TypeScript structure, something automat...
I'm running two queries in SalesForce. However, when I try to use the values received outside the scope of the query, they are undefined. Here is the code:
var conn = new jsforce.Connection();
conn.login('email', 'password', function(err, res)...
I have the following document (Schema):
var CandidatoSchema = new Schema ({
id_login: Schema.Types.ObjectId,
nome: String,
cpf: String,
dataNascimento: Date,
sexo: String,
estadoCivil: String,
endereco: {
en...
I was playing with Socket.io, everything working fine, when I gave the command node app.js from one time to another NodeJS returns me an error (it was working before)
Can not find module 'socket.io'
I looked for another example...
I'm trying to request using the library superagent on my server nodejs , I'm following the documentation, however, is not working. Here's my code nodejs :
var express = require('express');
var app = express();
var request...
This is the following I tried to search but I did not find any solution, so I tried to create a function in the model of my application that will return the data of the query in the database. This function would be called in my controller which...
There I go again. I have a function where you make a record in the MySQL database it is working. But when trying to get data from an input I get the following error:
TypeError: Can not read property 'user' of undefined
Node:
exports....
Your environment has been set up for using Node.js 0.12.6 (x64) and npm.
C:\Users\Alexandre>npm install -g phonegap
npm **WARN** addRemoteGit Error: not found: git
npm **WARN** addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\...
I try to install puglin
npm install grunt-contrib-uglify --save-dev
In my project using vagrant and gives permission error follows below:
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Linux 3.13.0-61-...