7 ms·
When I write lambda code for my job, our code currently only supports the node 6 for it's runtime (our system automatically deploys it). I use nvm to help test
by badhombres 8y ago
When I write lambda code for my job, our code currently only supports the node 6 for it's runtime (our system automatically deploys it). I use nvm to help test my code all the time while still having the ability to switch to a more current node for other projects
- devmunchies 8y agoAre you running your projects directly on your machine? Your’re not using a VM or containers? Don’t you have the “but it works on my machine” problem?
- maktouch 8y agoWe never had that issue with node
- badhombres 8y agoWe only run it for quick tests. This is custom code that our main application uses for custom logic that is different for each customer. We can't build it into the main product because not everyone wants/needs it. We always test on the lambdas directly, but we just dev on our machine as that's sometimes quicker.