Javascript "File does not exist"


#1

Hi!
In my workspace I got a folder named javascript. When I try to load a javascript I get a error in my log saying “File does not exist: /usr/share/javascript/jquery-latest.js”. Whats the correct link?

Right now I have the file located in the same folder as php file and that works fine using this,
<script type="text/javascript" src="jquery-latest.js"></script>


#2

Hey @dirkdiggler41 :smiley:,

What kind of server are you running or is it just static HTML?

Try seeing where you are in the Ubuntu folders with pwd, then if you’re not at /home/ubuntu/workspace then cd into that directory and then ls to get your barrings. :file_folder: :triangular_flag_on_post:


but sometimes, this just happens and you’ll just have to give it some time to fix itself. See:

:book: :snail:

Best,
Mikeumus