-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package causes "Multiple instances" three.js warning #6
Comments
can you move to 2.x? i don't see the warning. |
I tried it with the same result on I used some of the sample code from your docs:
If I remove the above chunk, the error goes away. |
then it must be the base library three-bvh-csg, will investigate edit: nope, loops good, three is marked a peerDependency no idea from where it comes from tbh. this library's only dependency is bvh-csg. |
when i download the house demo by clicking the csb dl button, yarn it, yarn start, i don't see any warnings in chrome. |
Then I think this issue is something to do with using |
Any news on this @wuhhh? I also encounter the same problem now. |
I have the same issue. Switching to
Normally, I'd just ignore the peer dependency warning, but there are multiple instances of Now, switching back to |
I was able to fix this by adding |
I am seeing the
WARNING: Multiple instances of Three.js being imported.
message in console. I narrowed it down to this dependency. If I remove the component which uses it, the warning goes away. I am on1.1.7
.Package.json deps :
The text was updated successfully, but these errors were encountered: