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

The examples of the inspector is broken #630

Closed a0m0rajab closed 2 years ago

a0m0rajab commented 2 years ago

Reproduce:

Error messages:

A-Frame Version: 1.2.0 (Date 2021-10-18, Commit #b1b13381)
index.js:94 THREE Version (https://github.com/supermedium/three.js): ^0.133.5
index.js:96 WebVR Polyfill Version: ^0.10.12
browser.js:111 components:raycaster:warn [raycaster] For performance, please define raycaster.objects when using raycaster or cursor components to whitelist which entities to intersect with. e.g., raycaster="objects: [data-raycastable]". 
6browser.js:111 core:schema:warn Unknown property `model` for component/system `generic-tracked-controller-controls`. 
browser.js:111 core:a-node:error Failure loading node:   TypeError: Cannot read properties of undefined (reading 'length')
    at i.updateGround (aframe-environment-component.min.js:1)
    at i.update (aframe-environment-component.min.js:1)
    at i.callUpdateHandler (component.js:419)
    at i.updateProperties (component.js:300)
    at HTMLElement.value (a-entity.js:490)
    at HTMLElement.<anonymous> (a-entity.js:727)
    at i.update (aframe-environment-component.min.js:1)
    at initComponent (component.js:330)
    at i.updateProperties (component.js:302)
    at i.module.exports.Component (component.js:78)
browser.js:111 core:schema:warn Unknown property `color` for component/system `material`. 
aframe-inspector.js:1120 Uncaught TypeError: Class constructor MeshBasicMaterial cannot be invoked without 'new'
    at new GizmoMaterial (aframe-inspector.js:1120)
    at aframe-inspector.js:1120
    at Object.<anonymous> (aframe-inspector.js:1148)
    at __webpack_require__ (aframe-inspector.js:2)
    at Object.<anonymous> (aframe-inspector.js:1199)
    at __webpack_require__ (aframe-inspector.js:2)
    at Object.<anonymous> (aframe-inspector.js:907)
    at __webpack_require__ (aframe-inspector.js:2)
    at Object.<anonymous> (aframe-inspector.js:2222)
    at __webpack_require__ (aframe-inspector.js:2)
aframe-inspector.min.js:25 Uncaught TypeError: Class constructor MeshBasicMaterial cannot be invoked without 'new'
    at new e (aframe-inspector.min.js:25)
    at aframe-inspector.min.js:25
    at Object.<anonymous> (aframe-inspector.min.js:25)
    at t (aframe-inspector.min.js:1)
    at Object.<anonymous> (aframe-inspector.min.js:25)
    at t (aframe-inspector.min.js:1)
    at Object.<anonymous> (aframe-inspector.min.js:25)
    at t (aframe-inspector.min.js:1)
    at Object.<anonymous> (aframe-inspector.min.js:25)
    at t (aframe-inspector.min.js:1)
inspector.js:100 Uncaught TypeError: Cannot read properties of undefined (reading 'open')
    at HTMLScriptElement.n.onload (inspector.js:100)
donmccurdy commented 2 years ago

See https://github.com/aframevr/aframe-inspector/issues/625 and https://github.com/aframevr/aframe-inspector/issues/628, the inspector currently does not work with the master branch of A-Frame. https://github.com/aframevr/aframe-inspector/pull/629 should fix this whenever the next release is made.

a0m0rajab commented 2 years ago

Thank you for the information!

dmarcos commented 2 years ago

closing. no further action necessary on aframe side