Skip to content

npm installation fails, because model-viewer depends on the old 157 version of Three JS #4602

Answered by elalish
teneon asked this question in Q&A
Discussion options

You must be logged in to vote

You're probably looking at the latest master version of MV, not v3.3.0 - pretty sure that one is indeed on r157. You have several options - wait for our next release, which will bump the three.js version, or downgrade your own (generally not a big problem unless you need a very recent feature). I believe there are even ways to force npm to ignore the version discrepancy, though do so at your own risk - we only test with the version of three.js we depend on.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by teneon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4599 on December 20, 2023 21:03.