GithubHelp home page GithubHelp logo

Warning: Encountered two children with the same key, ` in App`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version. about gltfjsx HOT 8 OPEN

pmndrs avatar pmndrs commented on July 21, 2024
Warning: Encountered two children with the same key, ` in App`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

from gltfjsx.

Comments (8)

SiegeSailor avatar SiegeSailor commented on July 21, 2024 3

After a few tests, I found out that the error I was encountering was because I installed the package locally. Everything is working well when I install it globally.

from gltfjsx.

 avatar commented on July 21, 2024 2

@drcmda i will do some work and put together a PR to try and make the error message less cryptic. let me know if you can provide any context / pointers otherwise ill get started on it later tonight. thank you :)

from gltfjsx.

drcmda avatar drcmda commented on July 21, 2024

could you append the glb?

from gltfjsx.

 avatar commented on July 21, 2024

https://github.com/mrdoob/three.js/blob/dev/examples/models/gltf/Xbot.glb its this one, just one of the standard threejs gltf models

from gltfjsx.

drcmda avatar drcmda commented on July 21, 2024

cant reproduce unfortunately, runs through here :-(

from gltfjsx.

SiegeSailor avatar SiegeSailor commented on July 21, 2024

I am also encountering the same problem when executing the same command with the model in this codesandbox public/stacy.glb.

from gltfjsx.

drcmda avatar drcmda commented on July 21, 2024

awesome! good luck also, i still can't reproduce :-(

from gltfjsx.

Pringels avatar Pringels commented on July 21, 2024

I can confirm. Got the same error when running locally, where installing globally fixed it.

from gltfjsx.

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.