Data dodania Pytanie
2017-04-15 22:04 node.js mongoose remove the subset of presisted documents not in a current list of those documents »
I have a list of documents I retrieve from a web API. All documents in this list have the same structure and 2 fields combined create a natural key. ...
(2) odpowiedzi
2017-04-15 21:04 Navigating between Express, EJS and Node.js »
How do I create a page which has a button, which onclick() will redirect to another page? ...
(1) odpowiedzi
2017-04-15 21:04 How to delete Cookie when shutting down the server »
So everytime I start my nodejs Server I set the userId: var customerId = null; When the user tries to log in I set the cookie : customerId = my...
(0) odpowiedzi
2017-04-15 10:04 User input with EJS and Express »
I'm building my first web app with Node, using EJS and Express. But I'm having some trouble getting any information from the user that can be manipula...
(0) odpowiedzi
2017-04-15 07:04 Curl and Postman giving different response? »
I am writing API in node.js. url http://localhost:8000/api/request?connId=19&timeout=8000 when I call above API from Postman then it takes 8 sec...
(1) odpowiedzi
2017-04-14 19:04 Custom printing from console.log? »
Let's say I have this class. class Attribute { constructor(name) { this.name = name; } } And I create an instance and log it to the consol...
(2) odpowiedzi
2017-04-14 12:04 Facebook login name field missing »
I have a server, writtien in NodeJS and in it I'm requesting for some facebook user info given his access_token with the fbgraph module (version 1.1.0...
(0) odpowiedzi
2017-04-14 08:04 Determine most popular version of a given npm package? »
The npm registry providers metrics on the most depended packages, but say you wanted to determine the most popular version of a given package - is tha...
(2) odpowiedzi
2017-04-14 07:04 Running an angular app using node js »
I have a html page and a serviceController.js, I need to automatically run the app through node js. Sorry for the naive question but am unable to run ...
(2) odpowiedzi
2017-04-13 22:04 nodejs html-pdf not working on heroku »
I've a fully functioning nodejs code that on some user actions generates a pdf, emails the pdf to user and uploads the pdf to dropbox. It works perfec...
(1) odpowiedzi
2017-04-13 19:04 Representing dynamic path variable in static JSON config file »
I have this JSON config for a backend CLI utility: { "searchRoots": ["$HOME"], "list": [] } if I did this with JavaScript, I would do: module....
(3) odpowiedzi
2017-04-13 17:04 Cloud Functions for Firebase BigQuery sync error »
We're working on a cloud function that allows us to keep our bigquery and firebase database in sync. The function triggers when a place is created/upd...
(0) odpowiedzi
2017-04-13 16:04 Cannot run npm in a shell script »
In a continuous deployment context I have a shell script executed to update restart my app in the remote server the script is: ssh user@myserver &lt...
(2) odpowiedzi
2017-04-13 13:04 how to submit a form without knowing a button id/class or form id/class? »
Hi i have multiple forms in a single page each of this having different productId which is getting from backend, and each form having 2 buttons one to...
(1) odpowiedzi
2017-04-12 22:04 Heroku-deployed Django webpage doesn't update when DB changes »
I have deployed an app in Heroku using Django. The Django program uses a SQLite database db.sqlite3 on root directory to populate its page. Separately...
(1) odpowiedzi
2017-04-12 17:04 in node.js, SQL command not properly ended at Error(native) »
I'm using oracle in node.js, and I want to insert my sql query. I tried to insert my query, but i can't insert. This is my error: Error: ORA-00933...
(0) odpowiedzi
2017-04-12 16:04 Why so bad the performance of the NodeJS object creation if num of props greater than 8? »
I would like to know that there are any limit in NodeJS when create an object which has more than 8 properties? I made a benchmark test and it seems i...
(1) odpowiedzi
2017-04-12 11:04 Cheerio get element outer html »
I am using cheerio to parse html file on server side with node 6.10.2. I need to get outerHtml of each div inside document body and my code is: /* c...
(1) odpowiedzi
2017-04-12 10:04 $pulling an object from an array based on _id in Mongoose »
I am trying to delete an object from an array based on its _id field like so: (posts is an array of objects) User.findOneAndUpdate( { id: ...
(0) odpowiedzi
2017-04-11 17:04 Is there a function which can be used to check two strings and return common words/alphabet in nodejs »
For Eq: var str1="IloveLinux"; var str2="weloveNodejs"; any function that can return true/value/or any possible flag ? ...
(3) odpowiedzi
2017-04-11 14:04 How can I access my req.body data/json in Express? »
I am new to node.js and I am trying to access json on my node.js server from a post request so I can send it to an API and feed it back to my front-en...
(2) odpowiedzi
2017-04-11 10:04 javascript recursive stack overflow »
Is there anybody would explain why the result is different below? // test one function computeMaxCallStackSize() { try { return computeMa...
(1) odpowiedzi
2017-04-11 09:04 how to render ejs template in HTML page on button click dynamically in nodejs »
I'm trying to add ejs template in html page onclick of button where I'm passing data to ejs template. if Irender template without data it gives error ...
(0) odpowiedzi
2017-04-11 07:04 html-webpack-plugin - How to insert webpack bundle.js without executing the EJS template »
I am trying to insert bundle.js dynamically without executing the EJS template but I get the below error. Is there a way to insert just the JS without...
(2) odpowiedzi
2017-04-11 03:04 How to fix multi row node-postgres insert - Syntax Error at or near $4 »
I have a multi row node-postgres insert that is giving me issues. It is a parameterized query that uses a Common Table Expression to update a primary...
(1) odpowiedzi
2017-04-11 00:04 why we use different extensions(Layouts) in node.js like handlebars,jade,ejs, etc? »
I'm a beginner to Nodejs. I'm developing MEAN Stack project for my University Project. so I have some questions regarding extensions in NodeJs. What ...
(1) odpowiedzi
2017-04-10 17:04 Async webpack config »
I can't get this to work. Please help :) (The documentation says webpack can handle Promises) This works: var compiler = webpack(webpackConfig) B...
(1) odpowiedzi
2017-04-10 11:04 Javascript stopping an event »
Is it possible at all to stop an event and force it to end? string rows // Correctly formatted csv string. csv .fromString(rows, { headers: false ...
(2) odpowiedzi
2017-04-10 09:04 Cannot run multiple NodeJs server on one subdomain »
I am trying to run multiple NodeJs server for (official) Kik Chatbots with different webhooks from one Subdomain on my webserver. However, I am not ...
(2) odpowiedzi
2017-04-10 04:04 Limit the number of items on pagination »
I have here my code, how to limit this 10 buttons to at least 4 buttons only? I'm just a beginner on programming. My JavaScript: $('.butt').on('clic...
(0) odpowiedzi
2017-04-09 17:04 How do I wait for a query to return results and then assign to json array »
I'm using node/express/mongoose/mongodb, and I have a collection of "packets." the users can individually set the status of the "packets," and I tryi...
(0) odpowiedzi
2017-04-09 15:04 Understanding how ReactJS and NodeJS app can work »
I'm trying to learn React JS, but I have difficulties understanding how it should work with NodeJS, let's say with Express. So far I understand that ...
(1) odpowiedzi
2017-04-09 05:04 Serverless Framework sls Conflicts with Powershell sls (Select-string) »
I installed the Serverless Framework using the following NPM command npm install -g serverless When I try to run the serverless command sls in Powe...
(1) odpowiedzi
2017-04-08 13:04 failing to get output from function »
I'm trying to figure out how to get value from xml file and output that value to console. const path = require('path'); const fs = require('fs'); con...
(1) odpowiedzi
2017-04-08 12:04 UnityWebRequest.downloadHandler returning null, while getting response from Node Server »
I am creating a Registration Scene on Unity. On the backend I have NodeJS server with MongoDB. Registration is successful and data is saved on Mongo t...
(1) odpowiedzi