As mentioned in the title, when creating a new OrbitControls object throws an Uncaught TypeError.
I’m importing the OrbitControls with this snippet
import * as THREE from ‘https://unpkg.com/three@0.121.1/build/three.module.js’;
import { OrbitControls } from ‘https://unpkg.com/three@0.121.1/examples/jsm/controls/OrbitControls.js’;
and I get the following error in the console: