Problème lancement Browser-sync

Bonjour à tous, je rencontre un problème en souhaitant lancer browser sync. J’ai complété l’installation mais ne parvient pas à le lancer, voici la réponse dans le terminal : bash: browser-sync: command not found
J’ai tapé l’erreur sur internet mais les solutions proposées ne fonctionnent pas.

On me conseille de faire cela, mais je comprends pas comment l’utiliser.

Check where npm installs it’s binaries by running npm bin -g, and then add that to your PATH.

export PATH=$PATH:/usr/local/bin

Ou dois-je rentrer la réponse au “npm bin -g” ?

Merci d’avance pour vos réponses

Bonjour vayjean,
N’étant pas expert dans ton problème, j’ai fouillé un peu sur le Net
et j’ai trouvé ceci qui a résolu le problème d’un autre :

This is not a problem with BrowserSync and should be closed. It’s an issue with your environment (OSX, Homebrew, Node.js installed via Homebrew maybe, npm config).

Where does npm install global packages in your setup? (I think you can get that with npm config get prefix .) Is that folder in the $PATH environment variable? If not, you should add it. Be sure to add the exact folder where npm will install executables. In my case, I configured npm to install global packages to ~/Library/npm , and I added ~/Library/npm/bin to my $PATH .

Tu nous tiens au courant pour la suite ? :wink: