the mendix sass gulp script (https://docs.mendix.com/howto/ux/style-with-gulp-and-sass) is not working properly, if your application uses page urls for direct navigation.
It seems like, the root folder is not resolved correctly and browsersync is looking for the css-files in "localhost:3000/p/page" instead of "localhost:3000/".
Here the error messages from the browser console:
GET http://localhost:3000/p/styles/css/lib/lib.css?636802148256840095&browsersync=1544614508135 net::ERR_ABORTED 404 (Not Found) GET http://localhost:3000/p/styles/css/custom/custom.css?636802148256840095&browsersync=1544614508143 net::ERR_ABORTED 404 (Not Found)
Has somebody else encountered this error and has a fix for if?
Thanks in advance,
If you are working with Mendix 7, some things might have changed. I catalogued a few minor issues over the past months and tried to add them to the troubleshooting section of ux-theming.
Please have a look at this link: https://github.com/mendix/ux-theming#troubleshooting and see if you can fix it. I think you will have to adjust the settings json in your theme.
I will add the troubleshooting section to the docs at a later stage as well.
I'm not having the same issue. Do you have the latest version of the Gulp file and browsersync?