...
Pour installer les dépendances, il faut en premier installer nodejs, npm et yarm. L'installation ne fonctionne pas avec nodejs 12.x
| Bloc de code |
|---|
(django_pod) pod@pod:~/django_projects/podv3$ curl -sL https://deb.nodesource.com/setup_1218.x | sudo bash - (django_pod) pod@pod:~/django_projects/podv3$ sudo apt install nodejs (django_pod) pod@pod:~/django_projects/podv3$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - (django_pod) pod@pod:~/django_projects/podv3$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list (django_pod) pod@pod:~/django_projects/podv3$ sudo apt update (django_pod) pod@pod:~/django_projects/podv3$ sudo apt install yarn |
...