FountainJS / generator-fountain-angular1

Yeoman 'fountain' generator to start a webapp with Angular 1
http://fountainjs.io
MIT License
95 stars 34 forks source link

Browser Sync throwing a syntax error #93

Open iamdriz opened 6 years ago

iamdriz commented 6 years ago

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 commented 6 years ago

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

theCrius commented 6 years ago

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