k3s on Raspberry Pi: node.js Server
Now that I’ve successfully run nginx on my cluster, I’m going to do the same with a simple node.js server.
Now that I’ve successfully run nginx on my cluster, I’m going to do the same with a simple node.js server.
To integrate direnv with nvm, add the following to ~/.direnvrc:
node.js modules are singletons. If you require('foo') from one module, and
then require('foo') from a different module, you’ll get the same instance.
I thought I might have a quick play with node.js on Windows. There’s a bunch of conflicting information out there about how to install it. Here’s what works for me.