Skip to content
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

I'm having a TypeScript error from Three.js: #1554

Closed
JoseRobertoReyesEncora opened this issue Feb 7, 2025 · 1 comment
Closed

I'm having a TypeScript error from Three.js: #1554

JoseRobertoReyesEncora opened this issue Feb 7, 2025 · 1 comment
Labels

Comments

@JoseRobertoReyesEncora
Copy link

Describe your problem

Which is the Three.js version used for the library? I'm trying to use version 0.173, but it throws an error:
`ERROR: node_modules/@photo-sphere-viewer/core/index.d.ts:1:25 - error TS2305: Module '"three"' has no exported member 'Renderer'.

1 import { Mesh, Vector3, Renderer as Renderer$1, Raycaster, Vector2, Intersection, Euler, WebGLRenderer, Object3D, Texture, WebGLRendererParameters, SphereGeometry, MeshBasicMaterial } from 'three';`

I try looking for any error like that, but I haven't found anything. Is there another library/module I might need to add?

Online demo URL

No response

Photo Sphere Viewer version

5.11.5

Plugins loaded

No response

Additional context

I installed both Photo Sphere Viewer and Three.js through npm using the current documentation provided, the application is built in Angular 19.

@mistic100
Copy link
Owner

PSV 5.11.5 is tested with Three 0.169.

The update to Three 0.173 will be in PSV 5.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants