Browser-sync installation failure problem
正念的奇迹
正念的奇迹 2017-07-08 07:38:37
0
1
2754

QQ截图20170708074322.png

As shown in the picture, there is an installation failure problem. Thanks to the master for giving me some guidance.

正念的奇迹
正念的奇迹

继续学习奋勇向前

reply all(1)
Peter_Zhu

First, check whether Node.js is successfully installed: node --server. If you can see the version number, it means the installation is successful.

Then execute: npm install -g browser-sync command, usually no error will be reported.

If it still doesn’t work, try running it with administrator rights.

If it still doesn’t work, I wonder what your operating system is? If it is Windows 7 or above, it is recommended to use PowerShell to perform the installation instead of using the ancient command line method. PowerShell is Microsoft's software replacement for the command line tool, which is usually built-in. It not only supports Dos commands, but also commonly used Linux commands. It is simply an operation and maintenance artifact.

If it still doesn’t work, open the Browser-sync official website and take a closer look at its five-minute introductory tutorial:

http://www.browsersync.cn/#install

  • reply Excuse me, the picture above is the result displayed after I entered the npm install -g browser-sync command. Please tell me, does this mean the installation was successful or failed?
    正念的奇迹 author 2017-07-12 13:30:54
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template