Aller au contenu
EN
  1. LuzineDebug
  2. Systèmes (Windows, macOS, Linux)

Erreurs Systèmes (Windows, macOS, Linux) : causes et solutions

Erreurs du terminal et du système : commande introuvable, scripts PowerShell bloqués, outils Xcode manquants, certificats SSL. Les réglages pour chaque système.

zsh: command not found: npm

Corriger « command not found » et « is not recognized as an internal or external command »

Le shell ne trouve aucun exécutable portant ce nom dans les dossiers listés par la variable PATH. Soit le programme n’est pas inst…

Débutant 5 min
File C:\Users\dev\project\script.ps1 cannot be loaded because running scripts is disabled…

Corriger « running scripts is disabled on this system » dans PowerShell

La stratégie d’exécution de PowerShell bloque les fichiers .ps1, y compris ceux de npm, yarn ou Activate.ps1 d’un venv Python. La…

Débutant 5 min
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing…

Corriger « xcrun: error: invalid active developer path » sur macOS

Les Command Line Tools (CLT) d’Apple sont absents ou cassés, souvent après une mise à jour de macOS, alors que git, make ou clang…

Débutant 10 min
SSL certificate problem: unable to get local issuer certificate

Corriger « SSL certificate problem: unable to get local issuer certificate » (git, curl, pip, npm)

L’outil ne trouve pas, dans son magasin de certificats, l’autorité qui a signé le certificat du serveur. En entreprise, c’est pres…

Intermédiaire 20 min
user is not in the sudoers file. This incident will be reported.

Corriger « user is not in the sudoers file. This incident will be reported. »

Ton compte n’a pas le droit d’utiliser sudo : il n’est ni dans le groupe d’administration (sudo sur Debian et Ubuntu, wheel sur Fe…

Débutant 5 min
/bin/bash^M: bad interpreter: No such file or directory

Corriger « /bin/bash^M: bad interpreter: No such file or directory »

Ton script a des fins de ligne Windows (CRLF) : Linux lit #!/bin/bash suivi d’un retour chariot invisible et cherche un programme…

Débutant 5 min
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1234 (unattended-…

Corriger « E: Could not get lock /var/lib/dpkg/lock-frontend » (apt, Ubuntu, Debian)

Un autre programme utilise déjà apt ou dpkg, le plus souvent les mises à jour automatiques (unattended-upgrades) juste après le dé…

Débutant 10 min
"App" is damaged and can't be opened. You should move it to the Trash.

Corriger « App is damaged and can't be opened » sur macOS (Gatekeeper)

Gatekeeper bloque une app téléchargée dont la signature est absente, invalide ou modifiée. Retélécharge-la depuis le site officiel…

Intermédiaire 10 min

Autres domaines