I'm following this tutorial, in Linux, but every time I restart I have to set everything up again
What do I have to do for the settings to remain globally?
I'm using Linux Mint Cinamon (Sylvia) 64 bits
[EDIT1]
For example:
I d...
I have an application in VueJS and I need to concatenate simple quotes in a variable that has a date like this 2017-11-09T02:00:00.000Z .
I tried the following and I did not succeed:
var novaData = "'" + data + "'"
I tried...
I'm trying to install nodemon globally, using:
npm install nodemon --global
It seems to install normally, with two warnings for an optional module:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0
But when I try t...
I learned a little about AngularJS and now I'm starting with Node.js and some doubts have arisen. With the Angular I use $routeProvider to create the routes and to navigate between the pages as a single page application, in the Node I was...
Everyone knows how to use request and response properly as http.createServer callback parameters, and that we use these two parameters as objects within the callback.
I searched the DOC's API and there it says that both a...
I'm trying to get the data that's coming this way:
[
{
"name":"JONAS",
"languages":["php","javascript","java"],
"age":37,
"graduate_date":1044064800000,
"phone":"32-987-543"
},
{
"nam...
My project is giving this error message;
Whyismyprojectnotrecognizingmyhttp?I'mnew,andI'mstilllearningtoprograminnodeexpress.Thisismypackage.json;{"name": "registre",
"version": "1.0.0",
"description": "API",
"main": "server/server.ts"...
I understood that the express generator only creates boilerplate pro project. But I do not quite understand what the correct way to add it to the project is
I need to install the 2, or just the generator would already suffice?
I create th...
I'm trying to implement in my Node Express paging project in a menu list, and I found this documentation low enough;
MONGOOSE-PAGINATE
According to the instructions I first installed lib with this command;
npm install mongoose-pagi...
I simply want the domain that appears there in the URL to appear on the page.
window.location.hostname gives me this, it just does not work on Node / Vue.js, so what would be the solution?