angular-threejs / angular-three

Angular Renderer for THREE.js
MIT License
194 stars 26 forks source link

can't use soba components #44

Closed comfortme closed 4 weeks ago

comfortme commented 4 weeks ago

Hi, I'm trying to recreate the example from the video "[Angular Three] 3D Slideshow long tutorial" as soon as I use ngts related components, I get a bunch of errors as below. Am I missing something?

"angular-three": "^2.0.0-beta.313",
"angular-three-soba": "^2.0.0-beta.313"

image

RyannGalea commented 4 weeks ago

You need to install troika-three-text, three-mesh-bvh & monogrid

comfortme commented 4 weeks ago

Ok.. but there are still a few errors left 🤔

image

RyannGalea commented 4 weeks ago

Which Angular version?

May have to remove node_modules and lock, and reinstall.

comfortme commented 4 weeks ago

I've removed node_modules and lock, updated the angular version to 18.2.0. I've check the vanilla-exports/index.d.ts file and saw that it was complaining about @pmndrs/vanilla being missing. Installed that too. Still getting the same errors :(

nartc commented 4 weeks ago

https://github.com/nartc/ngt-3d-slideshow/blob/main/package.json

Please reference this for all dependencies needed for 3D Slideshow (I'll update the video description so folks are aware as well)

Recent ng generate angular-three:add-soba schematic can help with installing peer dependencies for angular-three-soba.

Apologize for the inconvenience but I'm working hard on auxiliary things and documentation.