Working on my React portfolio project and encountered this message on the terminal. I do have package.json file in my folder. Not sure why it popped out. I have installed yarn and npx create-react-app@3.4.1 course2portfolio--->(my project folder name)
Here is the message shown in the terminal on VS code: Claires-MacBook-Pro:course2portfolio ginobili20g$ yarn start yarn run v1.22.10 error Couldn't find a package.json file in "/Users/ginobili20g/Desktop/course2portfolio" info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Claires-MacBook-Pro:course2portfolio ginobili20g$
by looking at your image, I realized that u opened the wrong folder in vs code, pls open course2portfolio folder, thats why the error... you need to open course2portfolio and then click on open....