question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

browser-sync with laravel debugbar getting Syntax Error

See original GitHub issue

standard install of latest browser-sync + gulp + laravel + laravel-debugbar I get a syntax error

‘Uncaught Syntax Error: Invalid or Unexpected Token’

image

Downgrading to v2.11.2 fixes this issue, my init:

  sync.init({
    open: false,
    proxy: 'opsis.dev:8080',
    port: 3000,
    notify: false
  });

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
godboutcommented, Feb 11, 2018

Still having the issue here.

0reactions
iget-mastercommented, May 17, 2017

This issue should be fixed, why don’t accept #1151 ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Incompatible with BrowserSync Proxy · Issue #405 - GitHub
The line causing there error is: phpdebugbar.addDataSet({ dataset values here });. I have BrowserSync set up as a proxy server for the built-in ......
Read more >
Cannot get Browsersync working properly with Laravel Sail ...
I fixed my issue by setting the following configuration: mix.browserSync({ proxy: 'localhost:8081', port: 8082, ui: { port: 8083, } ...
Read more >
laravel browser sync Code Example
2) does not satisfy that requirement. ... Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0".
Read more >
Laracasts Forum
The most popular Laravel and PHP programming forum.
Read more >
Problem with routing after installing UI in Laravel 9-laravel
Laravel Backend not getting files from form · Getting a call to undefined method in laravel when doing events · PHP MVC Framework...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found