project_3D_developer_portfolio
project_3D_developer_portfolio copied to clipboard
Could not resolve "three"
Hey guys Ive tried restarting the tutorial twice and I'm met with the same problem at the same time. Right at about 18:50 in the beginning of the tutorial I can get the project to open but when I import these components import {About, Contact, Experience, Feedbacks, Hero, Navbar, Tech, Works, StarsCanvas } from './components'; on line 2 of App.jsx im met with a very large number of errors that all begin with the same statement of "could not resolve "three"" here is one of those errors for context
[ERROR] Could not resolve "three"
node_modules/three-stdlib/controls/DragControls.js:7:77:
7 │ import { EventDispatcher, Plane, Raycaster, Vector2, Vector3, Matrix4 } from "three";
if anyone has an suggestions I'm all ears, like i've said I have restarted a few times now making sure I installed the dependancies exactly as he did on screen and was met with the same result.
Install npm i --legacy-peer-deps three maybe it help