Please help i faced this issues

Syed Ismail@DESKTOP-7FUFV4O MINGW64 ~
$ cd projects/RNFirstProject/
bash: cd: projects/RNFirstProject/: No such file or directory

Syed Ismail@DESKTOP-7FUFV4O MINGW64 ~
$ npm run android
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\Syed Ismail\package.json
npm ERR! errno -4058
npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open ‘C:\Users\Syed Ismail\package.json’
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in: C:\Users\Syed Ismail\AppData\Local\npm-cache_logs\2023-12-21T13_52_54_084Z-debug-0.log

Syed Ismail@DESKTOP-7FUFV4O MINGW64 ~
$

You are not inside the correct folder.

Your cd command failed so you are still inside C:\Users\Syed Ismail when running the npm command.

Open the RNFirstProject folder using Explorer, right-click or Shift + right-click an empty space inside the folder, from the context menu open the terminal. Now run the npm command.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.