3 Replies Latest reply on Nov 2, 2015 4:05 PM by PabloM_Intel

    Unsuccessfully Loading .js Sources

    postITnote

      Using the Edison Arduino breakout with usb sound card set up as default. Working with Timbre.js and Cylon to get a button to trigger a .wav file. I am using socket.io and  am able to connect to the socket and see that I am pushing the button.

      But am having trouble loading the .js sources. I've tried moving the files around and changing the directory paths in my index.html file.

      I am running app.js from my root, where my index.html and drumkit.wav is. My .js files are in a folder called js in my root. I am using Chrome.

       

      My paths are written as such:

      <script src="js/playsounds.js"></script>

      <script src="js/subcollider.js"></script>

      <script src="js/timbre.dev.js"></script>

       

      I go to my device page in Chrome and open the javascript console tool. It tells me that the server is saying that it's not found.

      GET http://192.168.1.2:8080/js/playsounds.js

      GET http://192.168.1.2:8080/js/timbre.dev.js

      GET http://192.168.1.2:8080/js/subcollider.js 404 (Not Found)

       

      I've been trying things for hours, not sure what I am missing here. 

      Any ideas?

       

      Thank you!