1.npm install -g browser-sync
2.npm install http-server -g http-server src3.npm更新他自己 npm install npm@latest -g