Hi! I am doing the front end masters course on creative coding. I'm on the 3d module and I tried to run the npx canvas-sketch webgl.js --new --template=three in my terminal. Then I get this error: Can't walk dependency graph: Cannot find module 'three/examples/js/controls/OrbitControls' from 'webgl.js'.
Any recommendations on how to import the OrbitControls properly while using canvas-sketch?
Hi! I am doing the front end masters course on creative coding. I'm on the 3d module and I tried to run the
npx canvas-sketch webgl.js --new --template=three
in my terminal. Then I get this error:Can't walk dependency graph: Cannot find module 'three/examples/js/controls/OrbitControls' from 'webgl.js'
.Any recommendations on how to import the OrbitControls properly while using canvas-sketch?