[nodejs] Re: passenger nginx configuration

2018-04-17 Thread Mikkel Wilson
TL;DR - You probably don't need Nginx and you definitely don't need Passenger. Node is different from Ruby in that it doesn't really need an HTTP proxy to sit in front of it (LinkedIn famously removed their front-end proxies a few years ago). When you run peerjs, it's starting an http server

Re: [nodejs] Working Paths

2018-04-17 Thread Rashik Ansar Shaik
I think you have installed the package so you cannot access it from another directories. If you want to access from any directory then install it globally using follinf command *npm i -g packageName* Replace packageName with necessary package name On Tue, Apr 17, 2018, 7:25 PM GlanPlon

[nodejs] Working Paths

2018-04-17 Thread GlanPlon
Hi I installed Nodejs on Windows 10 along with a netcdf file reader package. The Nodejs is installed in c:\windows\system32 . Everything works well if I open the nodejs session in this directory. However if I change the directory the netcdf package is inaccessible by the require command. Any