Re: [nodejs] Re: I cannot export jQuery correctly; testing Node.js with mocha and chai

2018-04-30 Thread Evan Biederstedt
Hi Mikkel This is a good work around. I think you might be right---I may not have been thinking clearly about jquery. Thanks, Evan On Mon, Apr 30, 2018 at 3:54 PM, Mikkel Wilson wrote: > So, this is a server-side javascript environment. jQuery is more suited to > a client-side environment (in

[nodejs] Re: I cannot export jQuery correctly; testing Node.js with mocha and chai

2018-04-30 Thread Mikkel Wilson
So, this is a server-side javascript environment. jQuery is more suited to a client-side environment (in a browser, not on a server). I think you're trying to use jQuery to make a request to a /metadata endpoint on a server to get some JSON. I'd suggest you use the 'request' package instead. Fi

[nodejs] Re: Check if internet connection is working behind a proxy

2018-04-30 Thread Mikkel Wilson
This module is just doing a DNS query. https://github.com/ourcodeworld/internet-available/blob/master/internet-available.js#L25 What is your proxy doing that is blocking port 53? Mikkel https://www.oblivious.io/ On Monday, April 30, 2018 at 8:43:10 A

[nodejs] Check if internet connection is working behind a proxy

2018-04-30 Thread martinkovacs78
Hey, I would like to develop a tool (angular-electron-app) which checks if an internet connection exists or not and this behind a proxy. So first I tried this module https://www.npmjs.com/package/internet-available . But it does not work because I'm behind a proxy. So now I need a module or a

Re: [nodejs] Re: Reconnecting to tcp socket server after closing does not work on LAN using Nodejs

2018-04-30 Thread John Shaver
Hey Anders, On Sun, Apr 29, 2018, 2:16 PM Anders Thorsby wrote: > Client works as expected in NodeJS but in Electron it will not reconnect. > What version of node is being used in your electron app? John Shaver -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/o