R
R
Ruslan Kirichenko2020-10-04 23:23:54
JavaScript
Ruslan Kirichenko, 2020-10-04 23:23:54

Browser-Sync does not start. Does it give an error when opening?

Guys help! Started learning Gulp and Sass. I wrote my Task and when opening the "gulp server" command - the console gives an error "Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false).
Here is a screenshot
5f7a2f46f3717984794223.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeniy, 2020-10-05
@Zheleznov

Try going to the folder ..\node_modules\browser-sync\dist
There should be a default-config.js file
through the search, find the line: open: "local",
usually line 286
and change to: open: "false",
If it doesn't help don't forget to change back

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question