Tagged Questions
Node.js is an event-based, asynchronous I/O framework that uses Google's V8 JavaScript engine. Node.js is commonly used for heavy client-server JavaScript applications.
0
votes
0answers
5 views
View node.js api docs in IntelliJ Ultimate 12
I am unable to get the node.js api documentation to appear in the documentation window/popup (ctrl+q) where the javadoc normally would be for a java project. For this code:
var http = ...
-1
votes
0answers
7 views
msnodesql build error node.js
...very long lines of errors
..\src\Connection.cpp(158): fatal error C1003: error count exceeds 100; stoppin
g compilation [E:\sql6\node_modules\msnodesql\build\sqlserver.vcxproj]
gyp ERR! build error
...
0
votes
0answers
3 views
Get MIME type of Node Request.js response in Proxy - Display if image
I’m writing some proxy server code which intercepts a request (originated by a user clicking on a link in a browser window) and forwards the request to a third party fileserver. My code then gets the ...
0
votes
0answers
15 views
The Date function in Node.js returns the value of 1 hour before
I am trying to get the current timestamp by using Node.js
I tried:
var t = Date.now();
console.log(t);
And
var t = new Date().getTime();
console.log(t);
Either way returns the timestamp from ...
0
votes
0answers
11 views
Weird Express Jade view caching behavior
Just updated my Node.js and Express versions to 0.10.21 and 3.4.4, respectively, and now I'm seeing some weird view caching in development (and production).
It seems the html generated from views ...
1
vote
0answers
28 views
Node.js server CPU goes up to 100%, Memory around 30-50%
I'm running a node.js server as a chat system for my website. However, I noticed 2 things:
The memory of the server keeps climbing up. I thought it was a memory leak at first but then I read about ...
0
votes
0answers
6 views
Get file size of GIFs with node-canvas?
After much struggling, I've managed to get node-canvas installed on Windows.
When I try to read in the image size of a GIF, however, it just gives me back 0 for the width and height.
var FileSystem ...
0
votes
0answers
10 views
How to get mongodb error from mongoose middleware
I have some code that was able to save documents in my mongodb. Something I did caused that to break but I can not find my error. I opened saved code from an earlier version and it breaks the same ...
1
vote
0answers
34 views
node.js receiving POST data submitted through form using HTTP
I'm using a node.js server and need to post data over an http*s* protocol.
POST is listed as a http protocol, so I'm wondering if I'm on the wrong track.
Anyway, here is the top of my code that ...
-1
votes
0answers
23 views
Best approach for creating fully ajax site [on hold]
I am going to build a fully ajax site just like soundcloud.com. Where music player will keep on playing music and you can navigate anywhere in site.
I can build it easily using combination of PHP, ...
0
votes
0answers
15 views
How to setup MySQL in combination with Node.js
I am making a Restful API using Node.js.
My project requires using MySQL Database (since there is an existing MySQL DB which needs to be re-designed). Therefore, what is the best way to setting up ...
-1
votes
1answer
16 views
How to uninstall node
I installed "Roots" theme for WordPress which comes with a "Grunt" build script which requires nodejs.
I deleted the theme via FTP but what's left is the theme folder along with a "node_modules" ...
0
votes
1answer
12 views
Odd MapReduce output
I am doing a MapReduce process and got some odd result.
The expected result is :
{ "_id" : {...}, "value" : { "register" : 1, "login" : 3, "payment" : 4.99, "transaction" : 1} }
What I got is :
{ ...
0
votes
1answer
9 views
msnodesql module is getting error during compilation
C:\Python27>node-gyp configure
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | ia32
gyp info spawn python
gyp info spawn args [ ...
0
votes
0answers
9 views
Express 3, Apache proxies and basepath
I have an older Express 2.5.9 app that I'm bringing up-to-date with Express 3.4.x. In production, the app is proxied by Apache using a RewriteRule:
RewriteRule ^/path/to/app/(.*)$ ...