Error 'ThreeCameraControls.install is not a function'
dmurvihill opened this issue · comments
Describe the bug
A basic GraphCanvas on a new T3 app is throwing an import error.
TypeError: ThreeCameraControls.install is not a function
at file:///Users/dolan/IdeaProjects/reagraph-import-issue/node_modules/reagraph/dist/index.js:1829:21
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at async importModuleDynamicallyWrapper (node:internal/vm/module:431:15)
To Reproduce
Check out the reproduction repo. npm install; npm run dev
You will see the error in your terminal and at http://localhost:3000/.
Code
No response
Live example
Expected behavior
An empty GraphCanvas should be rendered.
Screenshots or Video
No response
Device
Desktop
OS
MacOS
Browser
Firefox
Just so you know, our examples work without the error you reported.
https://github.com/yomotsu/camera-controls?tab=readme-ov-file#examples
Please double check your app or dependencies.
Sorry, wrong repo. This was meant for downstream.