Im new to threejs, I have some Problems with importing three as a module.
I have installed it with: npm install three.
Can someone help me to run it successfully?
the error is:
‘THREE’ is declared but its value is never read. ts(6133)
Here is a screenshot with the Problem:
It looks like your are not using the imported
THREE namespace in your code. Instead, you are using
BTW: It’s actually no good practice to share screenshots of your code. Please consider to copy/paste the relevant code sections into your post and use the respective formatting options in order to create a nice code listing.
Ok, thanks it runs now.