aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
655 stars 203 forks source link

Json error #370

Closed odGit closed 8 years ago

odGit commented 8 years ago

I have a very basic setup: camera + 4 planes. Plain HTML file with aframe.min.js (v0.3.0) included in a header, running on localhost with budo. Once I am opening aframe-inspector, getting following errors.

In Google Chrome ( 53.0.2785.143 (64-bit)Mas OS Serra)

GET : https://raw.githubusercontent.com/aframevr/aframe-components/master/components.json fails with 404 error

json_error_gc

In Firefox (49.0.1 (64-bit) Mas OS Serra)

SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 4 of the JSON data

jsone_error_ff
fernandojsg commented 8 years ago

@odGit Hi, can you give it a try? I think we had a problem with the github CDN and it was caching our latest deploy. Make sure you've cleaned your browser's cache too

odGit commented 8 years ago

ok, I have tried again and still have the same errors (Deleted history, and in Incognito Window). I looked a bit around and the JSON callback which fails in aframe-inspector is this one xhr.open('GET', 'https://raw.githubusercontent.com/aframevr/aframe-components/master/components.json', false);

in code base https://github.com/aframevr/aframe-inspector/blob/master/src/lib/componentloader.js#L22

ngokevin commented 8 years ago

We can just ignore it since it's fixed. We moved the components, and it's now fixed in the latest. Will ship it out soon. Thanks for filing!