Javascript does not work on localhost but works on the server

0

I have a project that has a graph generated by javascript and angular logo on the home page after a login, however, in my localhost this graphic was never shown and I got to a part of the work in which I need to move it, however, without seeing It gets hard. However, what is online on the server works normally, but only the Location does not work, I have already pulled the files straight from the server to my machine and it just does not show! Does anyone have a solution?

I already cleaned cache, I already modified some settings of google chrome and firefox (it does not work in any of them nor in Microsoft Edge), I already changed the lines that call the files to the top as I saw in some places but nothing to solve.

Links called in my project.     

<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js"></script><scriptsrc="<?php echo $portal_path;?>assets/js/site/angular-chart.min.js"></script>

<script src="<?php echo $portal_path;?>assets/js/site/circleOfLifeChart2.js"></script>

<script src="https://rawgit.com/beaver71/Chart.PieceLabel.js/master/build/Chart.PieceLabel.min.js"></script><scriptsrc="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

<link rel="stylesheet" type="text/css" href="<?php echo $portal_path;?>assets/css/site/sliderCircleOfLife.css">

In Chrome's inspect, I see several errors that happen in Localhost but do not happen on the server. I use XAMPP.

    
asked by anonymous 14.11.2018 / 19:48

0 answers