OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums OroCommerce Refused to apply style

This topic contains 3 replies, has 2 voices, and was last updated by Andrey Yatsenko Andrey Yatsenko 2 weeks, 6 days ago.

  • Creator
    Topic
  • #40629

    Ariel
    Participant

    Hi,
    I have just installed OroCommerce in a fresh VPS and it seems the css file is not being loaded.
    I see the following error in the console:

    Refused to apply style from ‘http://crm.bateprecios.com/css/themes/oro/oro.css?version=5c3824b2’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.

    Any ideas?

    Attachments:
Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #40631
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    It looks like css was not generated properly, please run the command manually

    And make sure it’s finished without any errors.
    Here is the troubleshooting guide with the most common errors and how to resolve them.

    #40632

    Ariel
    Participant

    Hey Andrey,
    I have just did that and I get a super long, red and dirty error.
    Screenshot attached.

    • This reply was modified 2 weeks, 6 days ago by  Ariel.
    Attachments:
    #40635
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    npm has some issues when using the root user, it is recommended to switch the user and reinstall node_modules to solve the issue.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No