Issue details
The latest BrowserSync package that was published a few days ago no longer works for me. It has prevented me from running my gulp build.
The error I now receive.
\node_modules\engine.io\build\server.js:173
async handshake(transportName, req, closeConnection) {
^^^^^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.
Steps to reproduce/test case
Create a new browserSync.js file.
Add this one line of code.
var browserSync = require('browser-sync');
Run gulp command.
Please specify which version of Browsersync, node and npm you're running
- NODE [6.10.3]
- NPM [6.14.11]
- GULP CLI [2.3.0]
- GULP Local version [3.9.1]
- Browsersync [2.27.9]
Affected platforms
- [ X ] linux
- [ X ] windows
Browsersync use-case
Issue details
The latest BrowserSync package that was published a few days ago no longer works for me. It has prevented me from running my gulp build.
The error I now receive.
\node_modules\engine.io\build\server.js:173
async handshake(transportName, req, closeConnection) {
^^^^^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.
Steps to reproduce/test case
Create a new browserSync.js file.
Add this one line of code.
var browserSync = require('browser-sync');
Run gulp command.
Please specify which version of Browsersync, node and npm you're running
Affected platforms
Browsersync use-case