Uncaught TypeError: D is not a function
at new r (browser-sync-client.js?v=2.27.11:11:100416)
at fs (browser-sync-client.js?v=2.27.11:11:102139)
at browser-sync-client.js?v=2.27.11:11:124998
at browser-sync-client.js?v=2.27.11:11:125835
Steps to reproduce/test case
Using latest SystemJS
Please specify which version of Browsersync, node and npm you're running
Browsersync [ 2.27.11 ]
Node [ 16.18.1 ]
Npm [ 8.19.2 ]
Affected platforms
[x ] linux
Browsersync use-case
[ x] Gulp
for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync
Issue details
Uncaught TypeError: D is not a function at new r (browser-sync-client.js?v=2.27.11:11:100416) at fs (browser-sync-client.js?v=2.27.11:11:102139) at browser-sync-client.js?v=2.27.11:11:124998 at browser-sync-client.js?v=2.27.11:11:125835
Steps to reproduce/test case
Using latest SystemJS
Please specify which version of Browsersync, node and npm you're running
Affected platforms
Browsersync use-case
for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync
{Browsersync init code here} function startBrowserSync(cb) { browserSync.init({ proxy: "http://localhost:3000", files: ["public/*/."], port: 9000, ui: { port: 9001 }, middleware: function (req, res, next) { res.setHeader('Access-Control-Allow-Origin', ''); next(); } }, cb); }