THREE is not defined when creating a scene

Why is this wrong?
Uncaught ReferenceError: THREE is not defined

Likely because you did not include Three in your project, or it is not imported correctly.

Check the Network tab and see if three.js script is actually being loaded.

1 Like


thank you