Uncaught ReferenceError: THREE is not defined

In this case, the beginner example may be helpful.

See BeginnerExample at * discourse.threejs.hofk.de

2021-03-16 17.05.23

from the Collection of examples from discourse.threejs.org