ui-matt
ui-matt

Reputation: 394

npm install error not installing BrowserSync package

Trying to install BrowserSync

I've followed the steps to install the package through the command line, installed node.js and then I went on to install npm through the command line.

Now when I try to install browser-sync with the following line npm install -g browser-sync you will see it is not recognized when I check the version and its the same when I try do anything like start --server?

enter image description here

note tried installing another package as a test jshint successfully installs/uninstalls but displays the same message when checking its version.

Any suggestions?

Upvotes: 0

Views: 3554

Answers (1)

cdagli
cdagli

Reputation: 1578

Have you tried like below? (http://www.browsersync.io/#install)

npm install -g browser-sync

-g means global.

Upvotes: 2

Related Questions