My terminal shows an error of package.json not found while running yarn start command what should i do?

$ yarn start yarn run v1.22.5 error Couldn't find a package.json file in "C:\Users\Anjana Poudel\Documents\Javascript\React.js\Projects-react" info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

$ node -v v12.18.3 $ npm -v 6.14.6 $ yarn -v 1.22.5


You might have ran the command yarn start from the wrong folder. It might not have package.json

Usually when the new react app is installed into the system with npx create-react-app my-app, it creates the folder my-app in which all the react files reside. cd my-app command is required to run to access the files in the folder. Then yarn start or npm start will work.