DemocracyOS / democracyos

Democracia en Red is focusing on specific implementations of DemocracyOS. We are working now working with governments and activists all over Latin America. If you are interested in our online participation tools you can check them out on our site.
https://democraciaos.org/en/
GNU General Public License v3.0
1.77k stars 616 forks source link

nodejs and npm version #1638

Open myier opened 6 years ago

myier commented 6 years ago

Hi I tried to install democracyos on a debian server and I have version issues. Apparently it needs very old versions of nodejs and npm and I don't know how to install them. I don't know where to find the nvm command for example. I used this tutorial to install nodejs and npm in the first place.

Invalid 'node' version. You have '10.9.0' and '>=6.0.0 <7.0.0' is required.
To install node, run `nvm install 6` or see https://nodejs.org/

Invalid 'npm' version. You have '6.2.0' and '>=3.0.0 <5.0.0' is required.
To install npm, run `npm install -g npm@>=3 <5`

Thank you

ZerooCool commented 6 years ago

Hello. I try my installation of Democracyos with Docker. I have not been able to finish correctly, but, I'm going forward. The developers of the French Pirate Party helped me better understand the installation, with node.js version 6.x For my installation with Docker, in the container of Democracyos which is based on Debian Jessie 8, here is the procedure.

Entrer dans le conteneur Docker de DemocracyOS. sudo docker exec -ti democracyos1 /bin/bash

apt update apt upgrade curl -sL https://deb.nodesource.com/setup_6.x | bash - apt-get install -y nodejs

https://www.visionduweb.eu/wiki/index.php?title=Installer_DemocracyOS#Installer_DemocracyOS_sur_GNU.2FLinux

franciclo commented 6 years ago

Hi, i know the current version is very old, we are working in a new version of DemocracyOS and don't have time to make the migration in the current. You can use nvm to install other node.js versions or you could just use Docker.