Sage 9 - error after updating styles or scripts during browsersync

Hi!
I have some strange issue right after install sage. I installed it, ran ‘yarn’, ‘yarn:build’ and then ‘yarn start’. Project compiles successfully, but when I save updated stylesheet or script, terminal says it’s compiled successfully, but in the browser nothing changes and console throws the following errors:
Zrzut ekranu 2021-12-25 o 23.49.28
Zrzut ekranu 2021-12-25 o 23.49.39
During the installation I haven’t chosen any framework.
Did anybody experience something like that?

Is the URL (starting with http://localhost:3000) reachable?
It seems that something is wrong with the ports/addresses used for the local server and for BrowserSync.

Ok, I found it. Yes, url http://localhost:3000 was reachable, project was running on this url after ‘yarn start’ command, somehow. The config-local.json file was missing, I added it with the same data as in config.json and now everything seems to working properly.
Cheers! :slight_smile:

This topic was automatically closed after 42 days. New replies are no longer allowed.