Hello, please help. I enter

var browserSync = require('browser-sync'); gulp.task('browserSync', function() { browserSync({ server: { baseDir: "./" }, notify: false, }); }); 

The code looks something like this, in the console it writes could not open browser (if you are using a browser)

  • one
    This task is all right. In some other place gulp-file error. - DogeDev
  • It cannot be, since I have already left only one this function in the gulpfile.js file - the same error. Could this be because I have Windows 7? Or do you need to search in some other file? - olly
  • here is completely gulpfile.js - olly
  • var gulp = require ('gulp'), browserSync = require ('browser-sync'); gulp.task ('browserSync', function () {browserSync ({server: {baseDir: "./"}, notify: false,});})); - olly

0