iamshaunjp / react-native-tutorial

All the course files for the React Tutorial for Beginners playlist on The Ne Ninja Playlist
593 stars 508 forks source link

It seems like npm is unable to find the package.json file #31

Open LumisD opened 4 months ago

LumisD commented 4 months ago

I cloned this repo using git clone https://github.com/iamshaunjp/react-native-tutorial.git then with cd react-native-tutorial I went into working folder then I run npm install and got an error:

`D:\ReactPrjcts\ReactNative\netNinjaPrj2\react-native-tutorial>npm install npm ERR! code ENOENT npm ERR! syscall open npm ERR! path D:\ReactPrjcts\ReactNative\netNinjaPrj2\react-native-tutorial\package.json npm ERR! errno -4058 npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'D:\ReactPrjcts\ReactNative\netNinjaPrj2\react-native-tutorial\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\simch\AppData\Local\npm-cache_logs\2024-05-03T12_31_52_845Z-debug-0.log`

I checked what files there are inside of react-native-tutorial folder and found only two files: README and .git