OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Refused to apply style

This topic contains 3 replies, has 2 voices, and was last updated by  Andrey Yatsenko 4 years, 6 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • 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:
    1. Screenshot_209-128x72
Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #40631

    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 4 years, 6 months ago by  Ariel.
    Attachments:
    1. Screenshot_210-128x72
    #40635

    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)

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top