Base solution for your next web application
Open Closed

Refused to apply style from ... because its MIME type ('') is not a supported stylesheet MIME type #6575


User avatar
0
byeniceri created

Hi I just dowloaded AspnetCore MVC - Jquery 6.7 version. When I run the project I got lots of errors like below. It is brand new project. What can i do? Please help.

Refused to apply style from 'http://localhost:62114/view-resources/Areas/App/Views/_Bundles/account-layout-libs.min.css' because its MIME type ('') is not a supported stylesheet MIME type, and strict MIME checking is enabled.


1 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    From https://docs.aspnetzero.com/documents/zero/latest/Getting-Started-Core#run-the-project:

    open a command prompt, navigate to root directory of *.Web.Mvc project and run npm run create-bundles command.