dev-labs-bg / sportify

Football match prediction game with simple rules, built on Symfony
GNU Affero General Public License v3.0
33 stars 13 forks source link

Specify browser-sync version explicitly #40

Open aminvakil opened 3 years ago

aminvakil commented 3 years ago

https://github.com/BrowserSync/browser-sync/issues/1682#issuecomment-659890571

aminvakil commented 3 years ago

Without this change it fails with this error:

$ sudo gulp
/var/www/html/node_modules/micromatch/index.js:44
    let isMatch = picomatch(String(patterns[i]), { onResult, ...options }, true);
                                                             ^^^

SyntaxError: Unexpected token ...
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:549:28)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/var/www/html/node_modules/browser-sync/dist/public/stream.js:3:18)
aminvakil commented 2 years ago

World Cup 2022 is near and there was another thing which needed to be fixed :)

I've added the commit here, without this change, gulp command will fail.