Failed to resolve entry for package "@react-three/drei". The package may have incorrect main/module/exports specified in its package.json.
The package is installed. The main, module, and exports fields are specified correctly in the package.json. My import statement is correct. I uninstalled the node modules and reinstalled. I checked compatibility. I updated Vite.
I even downloaded your content and then pasted it into a new folder with with my node_modules to determine where the issue lied and it still persisted.
Console: :Failed to load resource: the server responded with a status of 500 (Internal Server Error) :5173/src/canvas/index.jsx:1 Failed to load resource: the server responded
Failed to resolve entry for package "@react-three/drei". The package may have incorrect main/module/exports specified in its package.json.
The package is installed. The main, module, and exports fields are specified correctly in the package.json. My import statement is correct. I uninstalled the node modules and reinstalled. I checked compatibility. I updated Vite.
I even downloaded your content and then pasted it into a new folder with with my node_modules to determine where the issue lied and it still persisted.
Console: :Failed to load resource: the server responded with a status of 500 (Internal Server Error) :5173/src/canvas/index.jsx:1 Failed to load resource: the server responded