serverside-javascript Questions

10

Solved

I'm building a .NET 3.5 application and have the need to evaluate JS code on the server - basically a user provided rule set that can work within a browser or on the server. Managed JS is not an op...
Glossology asked 10/12, 2008 at 17:47

9

Currently I am following this example on how to redirect users in getInitialProps https://github.com/zeit/next.js/wiki/Redirecting-in-%60getInitialProps%60 The problem is, if I want to return 404...
Christianly asked 1/12, 2017 at 4:8

10

Solved

Any idea how one would go about preventing XSS attacks on a node.js app? Any libs out there that handle removing javascript in hrefs, onclick attributes,etc. from POSTed data? I don't want to have...
Mostly asked 14/9, 2010 at 0:26

22

Solved

I installed nodejs on ubuntu from instructions given here When I write node --version in the terminal I see this : -bash: /usr/sbin/node: No such file or directory I can see node in the /usr/sbi...
Loot asked 8/8, 2013 at 15:33

6

Solved

I'm making a game, and I've come across a problem... When I try to save, JSON fails and reports that circular reference is being made somewhere. I don't think it actually is, I can't see it, so is ...
Immediately asked 28/9, 2011 at 10:45

11

Solved

Is it possible to somehow pass the scope of a function to another? For example, function a(){ var x = 5; var obj = {..}; b(<my-scope>); } function b(){ //access x or obj.... } I woul...
Comedienne asked 14/6, 2011 at 19:20

11

Solved

I just started trying out node.js a few days ago. I've realized that the Node is terminated whenever I have an unhandled exception in my program. This is different than the normal server container ...
Lesbos asked 5/9, 2011 at 16:15

2

Solved

Referring to this ticket here: https://github.com/zeit/next.js/issues/4210 I'm currently wondering why when you disable javascript, most of the content using relay modern and NextJS does not work. ...

15

Solved

Are there any existing user authentication libraries for node.js? In particular I'm looking for something that can do password authentication for a user (using a custom backend auth DB), and associ...
Permissible asked 16/8, 2010 at 22:44

5

Solved

I am making a simple Node.js game that uses Express, Socket.io, and an Http server. All of the users are stored in a multidimensional object on the server. This is how the server-side code works: ...
Poe asked 4/7, 2015 at 23:26

2

I'm using react-router 2.0 on the server. Some of my top-level route components depend on async data to be fetched and uses Redux to manage state. To deal with this, I'm using a static fetchData() ...

1

I'm making a Reddit clone and I'm using Next.js so its server-side rendered. I started without using Next.js and when I learned about it, I immediately switched to it. I've created a custom _app.j...

8

Solved

I have a pet project that is an online game, the entire game engine is written in C# and I would like to know if there is anyway I can call the functions of this existing assembly (.dll) from a sol...
Panjabi asked 11/1, 2011 at 1:49

3

Solved

"Functional programming describes only the operations to be performed on the inputs to the programs, without use of temporary variables to store intermediate results." The question is how to apply...

3

My Problem I'm writing a node module called a, which require()s a module b (written by a stranger). Unfortunately, a doesn't only need to access the public members - it also needs to access local ...
Transcendent asked 24/12, 2012 at 10:37

1

I am trying to achieve server side rendering for an app using react-redux and express for the server, webpack is being used to create the bundle. I started off using the following documentation: ...

2

I'm working on moving a React app to SSR using NextJS and per the docs, I'm using the CSS and LESS modules for Next. The problem is that it seems that only one works at a time. Some of the app sti...
Peadar asked 7/2, 2018 at 18:54

5

Solved

I've started tinkering with Node.js HTTP server and really like to write server side Javascript but something is keeping me from starting to use Node.js for my web application. I understand the wh...
Gothurd asked 16/8, 2010 at 9:4

1

I'm trying to do server side rendering with an application made in ASP.NET MVC, using ReactJS and Redux. I'm using ReacJS.Net. My components are fine with client rendering. My application could b...

5

Solved

node.js is an open source server-side JavaScript platform based on Google's V8 JavaScript engine. It has been rapidly gaining popularity and importance for couple of years now. Now node.js is just...

5

I guess that once it's executed it's on the queue, but in the queue is there any assurance it will invoke exactly after X milliseconds? Or will other heavy tasks higher on the queue delay it?
Priapus asked 1/5, 2011 at 14:54

2

Solved

In the context of Server Side Javascript engines, what is non-blocking I/O or asynchronous I/O? I see this being mentioned as an advantage over Java server side implementations.
Choate asked 13/5, 2012 at 8:13

1

Solved

I'm building a notification application using nodemailer and I keep getting this error: [Error: 140735155404800:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/...

2

Solved

I started creating an isomorphic React/Redux app based on Node. One requirement of the project is "adapative" rendering of specific components based on a "mobile" and "desk...

2

I am developing an application with Flask Backend with ReactJS front. ReactJS app has been developed and bundled with webpack. Everything works fine with client side rendering which is bundled wi...

© 2022 - 2024 — McMap. All rights reserved.