You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just replace all https://threejs.org occurrences in script tag URLs in the HTML files with https://unpkg.com/three@X.X.X where X.X.X is the version you need.
Hello, you used a non-versioned source for Three.js, so when they release breaking changes it breaks the app.
Do you mind updating to use a versioned Three.js source?
One way is to install a specific version with
npm
, and load it from local node_modules rather than from threejs.org.Another way is to use
unpkg
(CDN for NPM), and you can load a versioned URL like this one: https://unpkg.com/three@0.125.2/build/three.min.jsThen this way, the site won't break because it will always use the same version of Three.js until you manually update it.
The text was updated successfully, but these errors were encountered: