Hi community,
I've install Browser Sync, but when i start server, i've this message on my console :+1:
'browser-sync' is not recognized as an internal or external command
Screen :

Any idea ? :)
Thank you !
Did you add npm bin directory to your path (I guess you are on windows)
I had to add C:\Users\USERNAMEHERE\AppData\Roaming\npm to mine
If you check using explorer you should have browser-sync.cmd in this directory
Hello Jonathan :)
Merci pour ta r茅ponse ! Pour les PATH, il me semble que oui (j'ai test茅 sur le PC du taff), sur le mien, Windows ou Linux, aucun probl猫me :)
Je check 莽a demain matin en arrivant ;)
Bonne soir茅e !
Hello :)
Npm has been present to my path :

My node is installer with Chocolatey, maybe the problem can be here ? :(
EDIT : after uninstall node.commandline with Chocolatey and install node with .exe, browser-sync work fine ! So the problem is chocolatey :(
Fixed !
@Grafikart :+1: Thank you very much, add PATH worked for me!
Did you add npm bin directory to your path (I guess you are on windows)
I had to add C:\Users\USERNAMEHERE\AppData\Roaming\npm to mine
If you check using explorer you should have browser-sync.cmd in this directory
@Grafikart it didn't work for me please suggest other method
@sound-vaish2 if you already have npm added to your path, try installing browser-sync globally
Run this command: npm i -g browser-sync
The 'g' tag here will install the module globally.
Most helpful comment
Did you add npm bin directory to your path (I guess you are on windows)
I had to add C:\Users\USERNAMEHERE\AppData\Roaming\npm to mine
If you check using explorer you should have browser-sync.cmd in this directory