I am taking a course on react and after installing the dependancies, one of the first tasks is to run npm start. However I think i’m running into a pathing issue, but am unaware of how to fix it.
daynenhinckley@Daynens-MacBook-Pro ~ % npm start
npm error code ENOENT
npm error syscall open
npm error path /Users/daynenhinckley/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/Users/daynenhinckley/package.json'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: /Users/daynenhinckley/.npm/_logs/2025-01-04T01_03_23_571Z-debug-0.log
this is the log of what I get when I run the code. I’m still learning how to set up pathing but I’m not sure how to reconfigure pathing to go where I want after it’s set up. Any help is appreciated.