Base solution for your next web application
Open Closed

Styles Not Loading Angular/Core - Debug & Deploy #8685


User avatar
0
AuroraBMS created

Good day,

We are currently trying to deploy our Angular application and we are getting styling issues.

should the image not load here is the link: https://ibb.co/VgczR3n Is there something we are missing since upgrading to the latest version.

I have also seen this issue occurring on our debug as well.

Both live and debug is an issue.

build used: ng build --prod debug used: npm run hmr

The angular app is only edited by the power tools and not by any users or developer so it is all standard changes.

Any assistance with this will be greatly appreciated.

Regards, Gideon Badenhorst


6 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi

    It looks like 102.67.139.125 fails to load.

  • User Avatar
    0
    AuroraBMS created

    Hi,

    Apologies that has been resolved. This however did not have an impact on the styling. The issue still persists: https://ibb.co/q00tVGk

    Regards, Gideon Badenhorst

  • User Avatar
    0
    maliming created
    Support Team

    hi

    You should execute gulp buildDev command or npm run create-dynamic-bundles

  • User Avatar
    0
    AuroraBMS created

    Hi Maliming,

    Is this for the production build as well?

    Is there different steps that I need to follow as normally ng build --prod creates the dist files.

    Regards, Gideon Badenhorst

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @AuroraBMS

    For Angular template, you need to run npm run publish command. Could you try like that ?

    Thanks,

  • User Avatar
    0
    AuroraBMS created

    Thank you @ismcagdas, this worked.