Code Monkey home page Code Monkey logo

Comments (4)

IvanFarkas avatar IvanFarkas commented on September 26, 2024 1

Your welcome @rahulss14.
I do not have a fix for three.js r128 and ideally this should come from the Amazon or the repo maintainers.
Let's see how quick they do.
If not, I put my team to work in a month.

from amazon-sumerian-hosts.

IvanFarkas avatar IvanFarkas commented on September 26, 2024

Yes. I am getting the same thing. It never worked for me since I've just started exploring.

It works up to three.js r127 and fails above that.
Fix in amazon-sumerian-hosts/examples/three.html

<!--Three.js dependencies-->
<!-- <script src="https://threejs.org/build/three.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r127/three.js"></script>

It fails in amazon-sumerian-hosts/src/core/Messenger.js

this._dispatcher.addEventListener(
  this._createLocalMessage(message),
  listener
);

message='onAddFeature'

Get exception:

Uncaught (in promise) TypeError: this._dispatcher.addEventListener is not a function
    at HostObject._addListener (333:formatted:1841)
    at HostObject.listenTo (333:formatted:1880)
    at new FeatureDependentMixin (333:formatted:3532)
    at LipsyncFeature._createSuperInternal (333:formatted:4802)
    at new TextToSpeechFeatureDependentMixin (333:formatted:4989)
    at LipsyncFeature._createSuperInternal (333:formatted:3374)
    at new FeatureDependentMixin (333:formatted:3521)
    at LipsyncFeature._createSuperInternal (333:formatted:3757)
    at new AnimationFeatureDependentMixin (333:formatted:3959)
    at LipsyncFeature._createSuperInternal (333:formatted:4241)

Error

call_stack

from amazon-sumerian-hosts.

rahulss14 avatar rahulss14 commented on September 26, 2024

Thank you so much @IvanFarkas for the fix . Were you able to find a fix for three.js r128 ?

from amazon-sumerian-hosts.

jkerste avatar jkerste commented on September 26, 2024

Thanks for reporting this issue @rahulss14, and thanks for providing a workaround @IvanFarkas. This issue should be fixed in v1.3.5, please re-open if you continue to have issues after getting the latest release.

from amazon-sumerian-hosts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.