BrowserSync : Command not found
See original GitHub issueThere was another issue open with the same title which has been closed but my error could not be resolved using the solutions given in that issue.
- Mac OSX El Capitan
- Node [v5.6.0]
- Npm [v3.6.0]
I installed Browser-Sync successfully using :
$ sudo npm install -g browser-sync
but when I check the browser-sync version by typing :
$ browser-sync --version
I get this error :
-bash: browser-sync: command not found
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
BrowserSync : Command not found after installing browser-sync
Turns out my windows 10 put that downloaded file into %appdata% folder which is in Local Disk (C), but it's an invisible folder...
Read more >Browsersync Command Line Usage
First, either install Browsersync globally, or locally to your project (if you're using npm scripts) and then run one of the following commands...
Read more >browser-sync command not found - Code Grepper
browser-sync command not found ; 1. Check where npm installs it's binaries by running, ; 2. npm bin -g ; 3. ;...
Read more >Browser-sync is installed but doesn't open website on sierra os x
-bash: browser-sync: command not found. There is no error when i precede the command with “npm”: ottergram documents$ npm browser-sync -v
Read more >NPM browser-sync Package (Install, Use, and Examples)
If you would like to run Browsersync from the command line in any directory, it can be installed globally with the following command....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 withnpm 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
.in my desktop it show that npm command not found …m not able to install browser sync by using the link mentioned in their website please help to resolve this