Browser-sync: Uint8Array not defined when loading page on IE9

Created on 12 Sep 2016  路  9Comments  路  Source: BrowserSync/browser-sync

Issue details

When I run a page with browserSync on IE9, I get the error "Uint8Array not defined" on file browser-sync-client.2.15.0.js. No problems with Firefox and Chrome

Steps to reproduce/test case

Run browserSync with Gulp-3.9.1. and load the page on IE9

Please specify which version of Browsersync, node and npm you're running

  • Browsersync [2.15.0]
  • Node [6.2.1]
  • Npm [3.9.5]

    Affected platforms

  • [ ] linux

  • [x] windows
  • [ ] OS X
  • [ ] freebsd
  • [ ] solaris
  • [ ] other _(please specify which)_

    Browsersync use-case

  • [ ] API

  • [x] Gulp
  • [ ] Grunt
  • [ ] CLI

    for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync

gulp.task('serve', ['dist'], () => {

   browserSync.init({
     server: {
       baseDir: 'dist/'
     },
     open: false,
     notify: false
   });

   gulp.watch('src/scss/*.scss', ['dist:css']).on('change', browserSync.reload);
   gulp.watch('src/html/*.html', ['dist:html']).on('change', browserSync.reload);
   gulp.watch('src/js/*.js', ['dist:js']).on('change', browserSync.reload);
 });

Most helpful comment

+1

SCRIPT5009: 'Uint8Array' is undefined 
browser-sync-client.js?v=2.16.0, line 1 character 341

v2.6.9 works fine

All 9 comments

+1

+1

+1

+1

SCRIPT5009: 'Uint8Array' is undefined 
browser-sync-client.js?v=2.16.0, line 1 character 341

v2.6.9 works fine

Same error on IE8 with 2.14.3 and 2.16.0 launched in CLI

+1
try use browser-sync<"2.13.0" version. but IE8- version requires a JSON polyfill library(i recommend json3) :^)

+1

+1

Please all try 2.17.3 where this is now resolved :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielverejan picture danielverejan  路  3Comments

ronilaukkarinen picture ronilaukkarinen  路  4Comments

pensierinmusica picture pensierinmusica  路  4Comments

hgl picture hgl  路  3Comments

jitendravyas picture jitendravyas  路  4Comments