generator-fountain-angular1 icon indicating copy to clipboard operation
generator-fountain-angular1 copied to clipboard

Browser Sync throwing a syntax error

Open iamdriz opened this issue 6 years ago • 2 comments

I'm sure if this is a browser sync issue or a config issue with the generator, but seen as this happens by doing a default generated build and then calling npm run serve I'm assuming it's a config issue.

But in short, when I try to view the app in the browser I get this in the console: :3001/browser-sync/browser-sync-client.js?v=2.23.2:89 Uncaught SyntaxError: Unexpected token }. Which means that the Angular app fails to run... Any ideas what's happening? Or how to fix it.

iamdriz avatar Jan 03 '18 15:01 iamdriz

Downgrading to the version specified e.g. 2.18.8 looks to fix the error. Is the default scaffolding setup outdated?

iamdriz avatar Jan 03 '18 15:01 iamdriz

I reported to browsersync a couple days ago it has now being fixed

theCrius avatar Jan 26 '18 12:01 theCrius