Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodejs and npm version #1638

Open
myier opened this issue Aug 17, 2018 · 2 comments
Open

nodejs and npm version #1638

myier opened this issue Aug 17, 2018 · 2 comments

Comments

@myier
Copy link

myier commented Aug 17, 2018

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
Copy link

ZerooCool commented Oct 7, 2018

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants