Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 02/04/2020, à 15:52

Calyp

Installation Ungit

Bonjour à tous.

Je cherche à installer Ungit.

J'ai installer Node directement depuis la logithèque et réalisé un test :

~$ node -v
v8.10.0
~$ cd /home/moi/Documents/---Travail\ en\ cours/Projet\ NodeJs/
~/Documents/---Travail en cours/Projet NodeJs$ node test.js 
Bienvenue dans Node.js !
Mouahahahahahahahahahahaha

OK

Cependant...

$ npm install -g ungit
▄ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine ungit@1.5.6: wanted: {"node":">=10.18"} (current: {"node":"8.10.0","npm":"3.5.2"})
loadDep:yargs → 304       ▌ ╢█████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
npm ERR! Linux 4.15.0-91-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "ungit"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! code EMISSINGARG

npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror     at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror     at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror     at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror     at /usr/share/npm/lib/install/deps.js:457:7
npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror     at /usr/share/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror     at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror     at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror     at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror     <http://github.com/npm/npm/issues>
WARN engine mkdirp@1.0.3: wanted: {"node":">=10"} (current: {"node":"8.10.0","npm":"3.5.2"})
WARN engine semver@7.1.3: wanted: {"node":">=10"} (current: {"node":"8.10.0","npm":"3.5.2"})

npm ERR! Please include the following file with any support request:
npm ERR!     /home/moi/Documents/---Travail en cours/Projet NodeJs/npm-debug.log

La commande sudo -H npm install -g ungit donne la même chose : https://gist.github.com/BuonOmo/b1beff2 … 085790b80e

Un coup de main SVP


Ubuntu 22.04

Hors ligne

#2 Le 02/04/2020, à 15:53

Calyp

Re : Installation Ungit

Ungit necessite Node 10.18 c'est ça que ça veut dire ?


Ubuntu 22.04

Hors ligne

#3 Le 02/04/2020, à 16:24

Calyp

Re : Installation Ungit

J'ai supprimé l'installation via Logithèque.

Installé en suivant le guide sous Github : https://github.com/nodejs/help/wiki/Installation

Mais il semble que je n'arrive pas à mettre à jour le profile même si Node fonctionne :

$ node -v
v8.10.0
$ node test.js 
Bienvenue dans Node.js !
Mouahahahahahahahahahahaha

L'installation d'Ungit en est toujours au même point

Dernière modification par Calyp (Le 02/04/2020, à 16:25)


Ubuntu 22.04

Hors ligne