google-ar / three.ar.js

A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore
https://developers.google.com/ar/develop/web/getting-started
Apache License 2.0
2.91k stars 365 forks source link

latest three.js not has geometry, #130

Open 389652405 opened 2 years ago

389652405 commented 2 years ago

export 'Geometry' (imported as 'Geometry') was not found in 'three'

i see the err, is project starting,

vadxq commented 2 years ago

Me too.

node_modules/.pnpm/three.ar.js@0.1.8_three@0.136.0/node_modules/three.ar.js/dist/three.ar.module.js:42:45: error: No matching export in "node_modules/.pnpm/three@0.136.0/node_modules/three/build/three.module.js" for import "Face3" 42 │ ... DoubleSide, EventDispatcher, Face3, Geometry, Math as Math$1, Ma... ╵ ~

node_modules/.pnpm/three.ar.js@0.1.8_three@0.136.0/node_modules/three.ar.js/dist/three.ar.module.js:42:52: error: No matching export in "node_modules/.pnpm/three@0.136.0/node_modules/three/build/three.module.js" for import "Geometry" 42 │ ...ide, EventDispatcher, Face3, Geometry, Math as Math$1, Matrix4, M...