我試圖在github項目上使用瀏覽器同步,并安裝了最新版本的node.js、npm和browser sync,但當我試圖輸入以下代碼時,這顯示出來。
browser-sync start --server -- directory --files "*"
[Browsersync] Access URLs:
Local: http://localhost:3000
External: http://192.168.31.204:3000
UI: http://localhost:3001
UI External: http://localhost:3001
[Browsersync] Serving files from: ./
[Browsersync] Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false)
我試圖重新安裝它,但它仍然發生