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
654 stars 201 forks source link

Can't add alongpath component in Inspector. #464

Closed pfreema1 closed 7 years ago

pfreema1 commented 7 years ago

When I click the "Add component" dropdown, and select "alongpath," nothing comes up.

Browser is Google Chrome Version 57.0.2987.98

fernandojsg commented 7 years ago

Yep, I can reproduce it. It seems like a incompatibility between alongpath and latest aframe:

aframe-alongpath-component.min.js:1 Uncaught (in promise) DOMException: Failed to execute 'querySelector' on 'Document': The provided selector is empty.
    at NewComponent.update (https://unpkg.com/aframe-alongpath-component@1.0.4/dist/aframe-alongpath-component.min.js:1:624)
    at NewComponent.updateProperties (https://aframe.io/aframe-inspector/example/js/aframe-master.js:63051:12)
    at NewComponent.module.exports.Component (https://aframe.io/aframe-inspector/example/js/aframe-master.js:62876:8)
    at new NewComponent (https://aframe.io/aframe-inspector/example/js/aframe-master.js:63169:15)
    at HTMLElement.value (https://aframe.io/aframe-inspector/example/js/aframe-master.js:61757:47)
    at HTMLElement.value (https://aframe.io/aframe-inspector/example/js/aframe-master.js:61908:12)
    at componentUpdate (https://aframe.io/aframe-inspector/example/js/aframe-master.js:62100:14)
    at HTMLElement.value (https://aframe.io/aframe-inspector/example/js/aframe-master.js:62069:11)
    at addComponent (https://aframe.io/aframe-inspector/dist/aframe-inspector.js:11764:17)
fernandojsg commented 7 years ago

I'll close it as it's related to the component itself, so we could keep track on the registry itself