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;








-1















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.










share|improve this question









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

















-1















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.










share|improve this question









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













-1












-1








-1








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.










share|improve this question









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






share|improve this question









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.











share|improve this question









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.









share|improve this question




share|improve this question








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

















  • 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










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.









draft saved

draft discarded


















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.









draft saved

draft discarded


















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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?

apt-get update fails to fetch files, “Temporary failure resolving …” errorWhy does apt-get fail to resolve the mirror?Apt-get update not working in Ubuntu 16.04 “temporary failure resolving”Ubuntu 16.04 Server updates - Temporary failure resolving 'ro.archive.ubuntu.com'“Failed to fetch… Temporary failure resolving…” when trying to installTemporary failure resolving ca.archive.ubuntu.comUbuntu 18.04 sudo apt update doesn't work (Failed to Fetch)apt-get error: “Temporary failure resolving 'archive.ubuntu.com' ”“Temporary failure resolving us.archive.ubuntu.com” Live USB rescueTemporary failure resolving 'es.archive.ubuntu.com' on Ubuntu Server15.04 Server fails to update with failed to fetch temporary failure resolving errorsCan't install software from Software CenterApt-get failed to fetch from Ubuntu server with error code 404“Unable to connect” error with apt-get: possible proxy?v12.10 can't apt-get update111: Connection refused when trying apt updateSudo apt-get update