Skip to content
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.

Browser Sync throwing a syntax error #93

Open
iamdriz opened this issue Jan 3, 2018 · 2 comments
Open

Browser Sync throwing a syntax error #93

iamdriz opened this issue Jan 3, 2018 · 2 comments

Comments

@iamdriz
Copy link

iamdriz commented Jan 3, 2018

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
Copy link
Author

iamdriz commented Jan 3, 2018

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

@theCrius
Copy link

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

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

No branches or pull requests

2 participants