Skip to content

admin page is not usable: no js and css #24

@yytsui

Description

@yytsui

Following the step Installation using docker compose,
the app site does work well. However, the js and css in admin page are not accessable form browser,
I tried both Chrome and Firefox. Here is the erroe message from Chrome debug console:

Refused to apply style from '' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
admin:1 Refused to apply style from 'http://127.0.0.1:3000/admin/lte/bootstrap/css/bootstrap.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
admin:1 Refused to apply style from 'http://127.0.0.1:3000/admin/lte/dist/css/skins/_all-skins.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
admin:1 Refused to apply style from 'http://127.0.0.1:3000/admin/codemirror/lib/codemirror.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
admin:1 Refused to apply style from 'http://127.0.0.1:3000/admin/lte/dist/css/AdminLTE.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
admin:1 Refused to apply style from 'http://127.0.0.1:3000/admin/codemirror/lib/codemirror.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
admin:25 GET http://127.0.0.1:3000/admin/codemirror/mode/javascript/javascript.js net::ERR_ABORTED
admin:22 GET http://127.0.0.1:3000/admin/codemirror/lib/codemirror.js net::ERR_ABORTED
admin:218 GET http://127.0.0.1:3000/admin/lte/plugins/jQuery/jquery-2.2.3.min.js net::ERR_ABORTED
admin:222 GET http://127.0.0.1:3000/admin/lte/plugins/slimScroll/jquery.slimscroll.min.js net::ERR_ABORTED
admin:220 GET http://127.0.0.1:3000/admin/lte/bootstrap/js/bootstrap.min.js net::ERR_ABORTED
admin:224 GET http://127.0.0.1:3000/admin/lte/plugins/fastclick/fastclick.js net::ERR_ABORTED
admin:226 GET http://127.0.0.1:3000/admin/lte/dist/js/app.min.js net::ERR_ABORTED
admin:25 GET http://127.0.0.1:3000/admin/codemirror/mode/javascript/javascript.js net::ERR_ABORTED
admin:218 GET http://127.0.0.1:3000/admin/lte/plugins/jQuery/jquery-2.2.3.min.js net::ERR_ABORTED
admin:220 GET http://127.0.0.1:3000/admin/lte/bootstrap/js/bootstrap.min.js net::ERR_ABORTED
admin:222 GET http://127.0.0.1:3000/admin/lte/plugins/slimScroll/jquery.slimscroll.min.js net::ERR_ABORTED
admin:224 GET http://127.0.0.1:3000/admin/lte/plugins/fastclick/fastclick.js net::ERR_ABORTED
admin:226 GET http://127.0.0.1:3000/admin/lte/dist/js/app.min.js net::ERR_ABORTED
admin:230 Uncaught ReferenceError: $ is not defined
at admin:230
(anonymous) @ admin:230
mixpanel-2-latest.min.js:9 Mixpanel error: "mixpanel" object not initialized. Ensure you are using the latest version of the Mixpanel JS Library along with the snippet we provide.
U @ mixpanel-2-latest.min.js:9
(anonymous) @ mixpanel-2-latest.min.js:117
(anonymous) @ mixpanel-2-latest.min.js:118
(anonymous) @ mixpanel-2-latest.min.js:118
(anonymous) @ mixpanel-2-latest.min.js:119

Screenshot in Chrome:
screen shot 2018-02-07 at 2 44 46 pm

Screenshot in Firefox:
screen shot 2018-02-07 at 2 45 24 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions