-
Notifications
You must be signed in to change notification settings - Fork 2k
Error when for 0.4.4. Refused to execute script from "*.js" because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. #283
Comments
Hi I am also facing the same problem: npm install - successful (No Errors) then I opened chrome instance and accessed the application with the url : localhost:3000 what I get is always a blank page. I see the view page source , everything is looking fine but the UI is not rentered and it is blank. why? Chrome cons0le error:localhost/:1 Refused to execute script from 'http://localhost:3000/modules/core/app/config.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. Firefox console error:The stylesheet http://localhost:3000/modules/users/css/users.css was not loaded because its MIME type, "text/html", is not "text/css". localhost:3000 |
Having the same problem since a few days. I guess at least one of the node or bower packages has been updated in that time and breaks something because I recently deployed a version on heroku that works. |
This is on the windows environment. I haven't seen it happen on OSX. |
Does anyone have a fix on it yet? On Wed, Dec 3, 2014 at 4:49 AM, Jonathan Romanowski <
|
…meanjs_0_4_0_merge * commit '709c27f9753ed09daf417d5f8d46ffd3293481f0': Wait for async saving and removing Change file ignore pattern to match word 'core' instead of chars Add missing newline at the end of text files Remove executable bit when not necessary Remove dist files 0.4.0 Adjust profile image URLs on Fb and Twitter strategies Auth service Remove username from facebook strategy Fix meanjs#321 image paths in social meta tags [v0.4] Fix meanjs#283 glob path issue for Windows Because html5Mode is enabled, the links the social buttons point to will not work, the request to /api/auth/{provider} will be captured by ui-router and directed back to /. Adding target="_self" to each link will fix this issue. Maybe creating a new directive for links to hit server side endpoints would be more appropriate but this should do for now. Conflicts: .gitignore Dockerfile config/assets/default.js modules/core/client/config/core.client.routes.js modules/core/client/controllers/home.client.controller.js modules/core/server/controllers/errors.server.controller.js modules/core/server/views/404.server.view.html modules/core/server/views/500.server.view.html modules/core/server/views/layout.server.view.html modules/users/client/controllers/authentication.client.controller.js modules/users/client/controllers/password.client.controller.js modules/users/client/services/authentication.client.service.js modules/users/client/services/users.client.service.js modules/users/client/views/authentication/authentication.client.view.html modules/users/server/config/strategies/local.js modules/users/server/controllers/users/users.authorization.server.controller.js modules/users/server/templates/reset-password-email.server.view.html public/dist/application.min.css public/dist/application.min.js
Still got the same issue on linux |
@a-lucas This ticket is VERY old. Please open a new issue and describe in detail with error messages what is going on and how we can replicate it. |
I have same issue,because I am not careful of losting the JS file. |
Still having the issue in 2018, please help |
I'm still having this issue in 2018 too! Please help me also :) |
Hi Guys, was working good with 0.3.3. but got bellow error with 0.4.0.
Refused to execute script from 'http://localhost:3000/modules/core/controllers/header.client.controller.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
I am using window 8.1. node js v0.10.24.
The text was updated successfully, but these errors were encountered: