ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Credits to Solrac3589

The first error was caused by the browser blocking access to local files. Browsers do not allow client local file loading for security purposes. A possible solution, to get ride of the Cross-Origin Resource Sharing or CORS blocked warning and the error, is to install Apache HTTP Server and copy all the code and files under /var/www/html.

The cause of the second error was because I loaded my file from a wrong path. So fixing the path in the code fixes the problem