Why my javascript is not working and shows not a valid javascript mime type? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Adding mime typePHP and MySQL not communicating'file --mime-type' and 'mimetype' Commands Returning Different Resultsxoj (Xournal) files handled as gzip despite presence of correct MIME type14.04 MIME type “png”Mime type missing description?How to get rid of “Connecting to 127.0.0.1:80… failed: Connection refused.”?Update mime type from ~/.mime.types?Why the difference between the results with “file --mime-type” and “xdg-mime query filetype”?Php not working?
How to pour concrete for curved walkway to prevent cracking?
When is phishing education going too far?
What's the difference between (size_t)-1 and ~0?
Replacing HDD with SSD; what about non-APFS/APFS?
Complexity of many constant time steps with occasional logarithmic steps
Is above average number of years spent on PhD considered a red flag in future academia or industry positions?
What are the performance impacts of 'functional' Rust?
Writing Thesis: Copying from published papers
Classification of bundles, Postnikov towers, obstruction theory, local coefficients
Using "nakedly" instead of "with nothing on"
Estimated State payment too big --> money back; + 2018 Tax Reform
Can smartphones with the same camera sensor have different image quality?
If A makes B more likely then B makes A more likely"
Why does tar appear to skip file contents when output file is /dev/null?
Windows 10: How to Lock (not sleep) laptop on lid close?
Slither Like a Snake
Would an alien lifeform be able to achieve space travel if lacking in vision?
Why is "Captain Marvel" translated as male in Portugal?
How to add zeros to reach same number of decimal places in tables?
Fishing simulator
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
Statistical model of ligand substitution
The following signatures were invalid: EXPKEYSIG 1397BC53640DB551
Am I ethically obligated to go into work on an off day if the reason is sudden?
Why my javascript is not working and shows not a valid javascript mime type?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Adding mime typePHP and MySQL not communicating'file --mime-type' and 'mimetype' Commands Returning Different Resultsxoj (Xournal) files handled as gzip despite presence of correct MIME type14.04 MIME type “png”Mime type missing description?How to get rid of “Connecting to 127.0.0.1:80… failed: Connection refused.”?Update mime type from ~/.mime.types?Why the difference between the results with “file --mime-type” and “xdg-mime query filetype”?Php not working?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Here is the error I am getting in console :
The script from “http://localhost/Project/public/dashboard /js/components.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.[Learn More] home
Loading failed for the <script> with source “http://localhost/Project/public/dashboard/js/components.js”. home:2076:1
The script from “http://localhost/Project/public/dashboard/vendors/c3/js/c3.min.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.[Learn More]
And my web application is not loading. How to solve it ? Please help.
I am new to ubuntu.
php mime-type javascript css
New contributor
DEBASHIS BAIDYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Here is the error I am getting in console :
The script from “http://localhost/Project/public/dashboard /js/components.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.[Learn More] home
Loading failed for the <script> with source “http://localhost/Project/public/dashboard/js/components.js”. home:2076:1
The script from “http://localhost/Project/public/dashboard/vendors/c3/js/c3.min.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.[Learn More]
And my web application is not loading. How to solve it ? Please help.
I am new to ubuntu.
php mime-type javascript css
New contributor
DEBASHIS BAIDYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
should the "mime" type of a javascript file be "text/html" or "text/javascript"?
– George Udosen
Apr 11 at 12:47
In current browsers you can just do<script src="http://..."></script>.
– Jos
Apr 11 at 13:41
add a comment |
Here is the error I am getting in console :
The script from “http://localhost/Project/public/dashboard /js/components.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.[Learn More] home
Loading failed for the <script> with source “http://localhost/Project/public/dashboard/js/components.js”. home:2076:1
The script from “http://localhost/Project/public/dashboard/vendors/c3/js/c3.min.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.[Learn More]
And my web application is not loading. How to solve it ? Please help.
I am new to ubuntu.
php mime-type javascript css
New contributor
DEBASHIS BAIDYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Here is the error I am getting in console :
The script from “http://localhost/Project/public/dashboard /js/components.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.[Learn More] home
Loading failed for the <script> with source “http://localhost/Project/public/dashboard/js/components.js”. home:2076:1
The script from “http://localhost/Project/public/dashboard/vendors/c3/js/c3.min.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.[Learn More]
And my web application is not loading. How to solve it ? Please help.
I am new to ubuntu.
php mime-type javascript css
php mime-type javascript css
New contributor
DEBASHIS BAIDYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
DEBASHIS BAIDYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited Apr 11 at 14:27
DK Bose
15.1k124388
15.1k124388
New contributor
DEBASHIS BAIDYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Apr 11 at 12:41
DEBASHIS BAIDYADEBASHIS BAIDYA
1
1
New contributor
DEBASHIS BAIDYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
DEBASHIS BAIDYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
DEBASHIS BAIDYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
should the "mime" type of a javascript file be "text/html" or "text/javascript"?
– George Udosen
Apr 11 at 12:47
In current browsers you can just do<script src="http://..."></script>.
– Jos
Apr 11 at 13:41
add a comment |
should the "mime" type of a javascript file be "text/html" or "text/javascript"?
– George Udosen
Apr 11 at 12:47
In current browsers you can just do<script src="http://..."></script>.
– Jos
Apr 11 at 13:41
should the "mime" type of a javascript file be "text/html" or "text/javascript"?
– George Udosen
Apr 11 at 12:47
should the "mime" type of a javascript file be "text/html" or "text/javascript"?
– George Udosen
Apr 11 at 12:47
In current browsers you can just do
<script src="http://..."></script>.– Jos
Apr 11 at 13:41
In current browsers you can just do
<script src="http://..."></script>.– Jos
Apr 11 at 13:41
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
DEBASHIS BAIDYA is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132978%2fwhy-my-javascript-is-not-working-and-shows-not-a-valid-javascript-mime-type%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
DEBASHIS BAIDYA is a new contributor. Be nice, and check out our Code of Conduct.
DEBASHIS BAIDYA is a new contributor. Be nice, and check out our Code of Conduct.
DEBASHIS BAIDYA is a new contributor. Be nice, and check out our Code of Conduct.
DEBASHIS BAIDYA is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132978%2fwhy-my-javascript-is-not-working-and-shows-not-a-valid-javascript-mime-type%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
should the "mime" type of a javascript file be "text/html" or "text/javascript"?
– George Udosen
Apr 11 at 12:47
In current browsers you can just do
<script src="http://..."></script>.– Jos
Apr 11 at 13:41