Data dodania Pytanie
2017-07-10 05:07 "Error: No default engine was specified and no extension was provided" When trying to do Server Side Rendering in React »
Hi I'm trying to do server-side rendering in my react app but I get the error Error: No default engine was specified and no extension was provide...
(2) odpowiedzi
2017-07-09 21:07 Stringify does not stringify the virtual populated object »
This is my object which is passed to view: app.get('/view_add_requests', isLoggedIn, function (req, res) { var my_id = req.user._id; // this is...
(1) odpowiedzi
2017-07-09 04:07 Client Side Javascript on EJS-Express »
I have already post this question before but nobody answer it, please it is driving me crazy. I am using EJS as templating engine for my node express ...
(1) odpowiedzi
2017-07-08 18:07 When using EJS script within span tag, why span tag class does affect result? »
This code works <span> <% if( !first_name && !last_name ) { %> login required! <% } else { %> Hello. <%= ...
(0) odpowiedzi
2017-07-08 09:07 Render mongodb documents with varying schema »
Has anyone come across an elegant way/library to render Mongodb documents with varying schema ? I am basically using NodeJS+Express+EJS and would lik...
(1) odpowiedzi
2017-07-07 16:07 FIREBASE WARNING: Exception was thrown by user callback. TypeError: req.next is not a function »
I am stuck in Firebase Warning. Can any one please assist me here ? Error: TypeError: req.next is not a function Below is my database structure: ...
(0) odpowiedzi
2017-07-07 12:07 How To Call Javascript Function From Another File in EJS »
I have a question regarding EJS and how to call a javascript function from another file. Let's say i have a button, <button onclick="click()">...
(0) odpowiedzi
2017-07-06 10:07 How to display errors in a modal popup after form is posted in node js using ejs templating? »
I have a form in a modal popup. User can submit the form via post method, how do I prevent the modal from closing and show the errors in modal popup i...
(0) odpowiedzi
2017-07-05 14:07 Argument passed in must be a single String of 12 bytes or a string of 24 hex characters »
I am using nodejs, expressjs and I am using two different server one is for ui and another one for backend. I am trying to delete the data from the li...
(0) odpowiedzi
2017-07-04 13:07 Javascript EJS string literal »
I am trying to pull a graphviz format string from my database and pass to a javascript function on my browser front end. I am using NodeJS and EJS as ...
(3) odpowiedzi
2017-07-04 09:07 Precompile handlebars and avoid runtime dependency? »
I've been using EJS to precompile templates and serve a bundled javascript file with no other dependencies, not even EJS itself. It's just a function ...
(0) odpowiedzi
2017-07-04 01:07 In Node.js, res.render is returning a 404 error on router.get »
I'm building my first Node application and having some trouble displaying the page that I want with a GET request. I have installed ejs (opinions welc...
(2) odpowiedzi
2017-07-03 15:07 Update ejs variable on server side using socket.io, node.js, and mongodb »
I am using mongodb with mongoose to maintain a list of stocks across clients. I want to simultaneously update the list using socket.io when one user m...
(2) odpowiedzi
2017-07-03 05:07 html tags being rendered instead of the values »
I am trying to render a saved Rich Text from my Mongodb database to an ejs page. The ejs for the unrendered part is like this : <div> <%= de...
(1) odpowiedzi
2017-07-03 03:07 Render HTML with variable data and convert to PDF »
I have a html template page that I want to fill in data with via EJS, after which I want to pass this completed page to a PDF creator; the end result ...
(1) odpowiedzi
2017-06-30 22:06 How to change background color dynamically using node.js and ejs? »
The webpage of the project send "group" data to the browser using node.js, io.socket, ejs and the implementation is as following. I can set the backgr...
(0) odpowiedzi
2017-06-30 14:06 Send different data with multiple instance of a form »
I want to create multiple forms with three fields each- name , id and a submit button. The values in each form are different.I am doing this with ejs(...
(1) odpowiedzi
2017-06-29 19:06 Register user using ejs and carry session in node »
I am learning node js and am trying to save the user details, using EJS and Node. Below is my EJS file <!DOCTYPE html> <html> <% incl...
(0) odpowiedzi
2017-06-29 16:06 Set Values dont stick »
Hello I am having a small issue. Below is a picture of my edit route for a story on my webpage. Groupwrites.com . When a user goes to edit a story, th...
(2) odpowiedzi
2017-06-29 04:06 SyntaxError: Unexpected token ; while compiling ejs »
I'm trying to use this google maps code in my Express App, but it's giving me a syntaxError. I already filtered the bugs to this function: <% va...
(1) odpowiedzi
2017-06-28 17:06 Storing and retrieving selections from dynamic dropdown »
I am trying to store and retrieve values taken from a dropdown menu that is created by calling data from mongodb. In the following code, the Head Ushe...
(0) odpowiedzi
2017-06-28 04:06 How to use ejs-loader and ejs-compiled-loader with webpack »
It's probably something simple but I can not figure out how to use ejs-compiled-loader or ejs-loader? I have server file and webpack.config file wher...
(0) odpowiedzi
2017-06-27 19:06 align each month with right days of the week? »
i'm creating a calendar app and right now I'm trying to make my days dynamic. so far in the backend, I have an array wich gives me the number of days...
(0) odpowiedzi
2017-06-27 03:06 How can I concatenate variables to output a JSON object in ejs? »
I've stripped down the code to hopefully make the question easier to read. When I include buildComp as a parameter inside the edmSwitchModuleLocal.ed...
(0) odpowiedzi
2017-06-27 01:06 ejs + nodejs - compare two variables doesn't work »
I pass two variables during rendering in nodejs. Let's say they're templates & treeInfo. In template.ejs I have. <% for(var i=0; i&lt...
(0) odpowiedzi
2017-06-26 18:06 Why Node.js not recognizing image path »
I'm trying to get my images to load up using node the relative path; however it keeps giving me a 404 error (not found). Here is my code: var expres...
(2) odpowiedzi
2017-06-26 15:06 Find query not working with node.js »
So I have collected the username and password entered by the users in the username and password variables respectively. But when I use this username ...
(0) odpowiedzi
2017-06-25 13:06 Render API response in express.js router »
I'm novice to node.js and express.js but got task as our backend is on holiday. I'm sure it's sort of fundamental question but at this point I don't ...
(1) odpowiedzi
2017-06-24 22:06 How to display response on HTML page after an XMLHTTPRequest? »
I am making my own project. I am sending out an AJAX request which will come back with a response. I want to parse out the response and display the da...
(2) odpowiedzi
2017-06-24 11:06 Copy - Paste issue Visual Studio Code »
VSCode Version: Code 1.13.1 (379d2efb5539b09112c793d3d9a413017d736f89, 2017-06-14T18:13:05.928Z) OS Version: Darwin x64 16.6.0 Extensions: |Extens...
(0) odpowiedzi
2017-06-23 21:06 How do I make the days of the month dynamic using moment.js »
I'm creating a calendar app using node.js and ejs. I made the months and years dynamic. I can't figure out how to make the days of the month dynamic s...
(1) odpowiedzi
2017-06-23 13:06 EJS pass text into partial »
I'm struggling to pass some text into my child component via the parent. Does anyone have any suggestions on how I might do this? Here's my parent: ...
(1) odpowiedzi
2017-06-23 11:06 AngularJS, template EJS, Can't convert string in JSON.parse »
I have a problem with convert string on JSON.parse(). I sended the variable ID by: router.get('/edit/:id', function (req, res, next) { res.render('...
(0) odpowiedzi
2017-06-22 23:06 Unable to use HtmlWebpackPlugin in a project »
I was tring to use HtmlWebpackPlugin to generate html to my build directory but found that it simply does not working. I googled for examples of code ...
(0) odpowiedzi
2017-06-22 20:06 nodej ejs conditional variable declaration »
I've an ejs template as : <div id="id1"> do something </div> <div id="id2"> do something </div> The value of id is decide...
(2) odpowiedzi