-
DescriptionHi there, i am on ubuntu 22.04 ,i have Three JS version 159 installed. When try to add model-viewer (currently latest version 3.3.0) i get the following error:
How can i fix this, i wouldn't want to downgrade Three JS to 157 version of course and i find it weird to require 157, because in package.json as dependency for model-viewer the 159 version is listed. Any help appreciated! :-) best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
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.