LINCnil / pia-back

Programme développé avec le framework RubyOnRails mettant à disposition une API RESTful à destination des outils PIA et PIA-APP. | Program developped with RubyOnRails providing a RESTful API for the PIA and PIA-APP applications.
GNU General Public License v3.0
156 stars 65 forks source link

Impossible d'installer l'application PIA #214

Closed FormindKTA closed 1 year ago

FormindKTA commented 1 year ago

Bonjour,

En suivant la procédure d'installation complète "Installation du Front Office et du Back Office de PIA avec Ubuntu serveur 20.04", j'ai une erreur en essayant d'installer Installer l'application PIA (Front office)

*ubuntu@pia:/var/www/pia$ yarn install yarn install v1.22.19 warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json. [1/4] Resolving packages... [2/4] Fetching packages... error Command failed. Exit code: 128 Command: git Arguments: ls-remote --tags --heads ssh://git@github.com/dauledk/angular2-csv.git Directory: /var/www/pia Output: Host key verification failed. fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.*

Comportement attendu / Expected behavior Je suis dans l'incapacité de télécharger les dépendances

Information de déploiement / Deployment information(please complete the following information):

oleksandr-zh commented 1 year ago

Yun need delete package-lock.json and yarn.lock and than "yarn install"

FormindKTA commented 1 year ago

Thank you very much

oleksandr-zh commented 1 year ago

but I am having the following problems with installing and configuring pia-back. Tell me, did you get it to run pia-back?

FormindKTA commented 1 year ago

Not really, I have a issue with the ruby version when I clone the PIA-BACK repository

oleksandr-zh commented 1 year ago

You need install ruby use "Or with a version manager". then run rbenv local x.y.z.