I tried to use many different Vagrant Boxes which I found here. I tried:
- hashicorp/precise64
- ubuntu/trusty32
- ubuntu/trusty64
- ubuntu/xenial64
but when I try to install latest Node.js (7.5) with (I found this on Installing Node.js via package manager):
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
I always get error like this:
Your distribution, identified as "precise", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support
I also tried to download ISO image for latest Ubuntu server and install it in VirtualBox manually and in that case installation of latest Node.js works fine. Which Vagrant Box should I use?
Additionally I use Mac OS with VirtualBox to run Vagrant.
My Vagrant config file:
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 3306, host: 3309
end