Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: D is not a function in browser-sync-client.js?v=2.27.11:11:100416 #2001

Open
olyashok opened this issue Dec 21, 2022 · 0 comments

Comments

@olyashok
Copy link

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

  • 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

{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);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant