Why does AWS Lambda uses older node version? - node.js

It seems like aws lambda uses older node version 0.10.36
Is there any reason to not to use newer versions of node or maybe even latest iojs compiler?
Thanks

A simple answer is that 0.10.36 is the version you get from the EL6 EPEL repository with yum install nodejs. You have to do extra work to get a newer version.

Related

brew upgrade node failing with error Error: node not installed , even when I do have old version of node installed

Mac OS 10.13.6 with homebrew installed, today had to upgrade it because of new homebrew policy
Can't update or upgrade Homebrew
after doing this, tried upgrading node to latest version and got below error
Warning: You are using macOS 10.13.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
Error: node not installed
In fact I do have old version of node installed
node -v
v12.0.0
how to solve this weird problem ?
Note:
Few weeks back I did below to use older version of node
Install NVM On Mac With Brew
I'm really confused atm, who is managing node on MAC ? Is it NVM / homebrew ?

How to install node 5.4.1 using brew

I am trying the following brew statement on console, but required node version is not found
brew install node#5.4.1
Does anybody knows how to install node version 5.4.1 by using Homebrew? This version is mandatory when using SAP HAT framework and is no longer possible to use previously node versions.
Futher information about HAT may be found on the following link: https://help.hana.ondemand.com/webide_hat/frameset.htm
You can’t install a specific version of Node with Homebrew if nobody wrote a formula (= package) for it. Homebrew doesn’t magically knows how to retrieve Node version 5.4.1 and how to build it.
You have to either install that version another way (e.g. using n) or create your own Homebrew formula (see the node#6 one).

How to install NodeJS 6.1.0 on Ubuntu 16.04

I've installed Node.js using the command sudo apt-get install nodejs. This is installing Node version 6.5.0. But I have to work on version 6.1.0.
How can I install a specific version?
You can use nvm to install a specific version of Node.js.
After installing nvm, use this in a terminal:
nvm install 6.1.0
Then, verify that the correct version has been installed by using node -V. Using nvm, you can switch between Node versions trivially easily, which can be very helpful when you're using modules that require a specific version.
this tutorial schould help you https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04
Edit:
got this from here https://ru.stackoverflow.com/a/521729

Linuxbrew doesn't see the latest version of node.js

I'm trying to install node.js on Ubuntu using linuxbrew. I'm running the following commands:
brew update
brew info node
the output is
node: stable 6.0.0, HEAD
However version 6.1.0 should already be available (you could verify it in e.g braumeister)
Any ideas what could be the issue here?
Linuxbrew is built on top of Homebrew and updates to the latter need to be manually ported to the former, which is why you can expect a small update lag. Braumeister and similar websites get their infos from Homebrew.

Node.js 0.12.0 on CentOS 6 (by rpm)

Im interested on installing the 0.12.0 version of Node.js on a CentOS 6 machine. I have noticed however that through yum, the latest version available is 0.10.33.
Given my environment I can ONLY install packages through RPM, and as I might be inclined to generate my own rpm of Node.js 0.12.0, I would like to know if there is any specific reason why the latest version has yet been made available. Are there by any chance some known problems when running the latest version of Node.js on CentOS 6? Or are there any stable 0.12.0 rpm packages out there I might have missed?
Thanks in advance!
Apparently there is no problem:
https://groups.google.com/forum/#!topic/nodejs/tqiKHCqpeuM
Node v0.12.0 should be stable on all versions os Centos back to 5.7

Resources